2
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
816 B
Java

package net.minecraft.util;
public class ChatComponentTranslationFormatException extends IllegalArgumentException
{
private static final String __OBFID = "CL_00001271";
public ChatComponentTranslationFormatException(ChatComponentTranslation component, String message)
{
super(String.format("Error parsing: %s: %s", new Object[] {component, message}));
}
public ChatComponentTranslationFormatException(ChatComponentTranslation component, int index)
{
super(String.format("Invalid index %d requested for %s", new Object[] {Integer.valueOf(index), component}));
}
public ChatComponentTranslationFormatException(ChatComponentTranslation component, Throwable cause)
{
super(String.format("Error while parsing: %s", new Object[] {component}), cause);
}
}