22 lines
433 B
Java
22 lines
433 B
Java
package net.minecraft.command;
|
|
|
|
public class CommandException extends Exception
|
|
{
|
|
private final Object[] errorObjects;
|
|
|
|
public CommandException(String message, Object... objects)
|
|
{
|
|
super(message);
|
|
this.errorObjects = objects;
|
|
}
|
|
|
|
public Object[] getErrorObjects()
|
|
{
|
|
return this.errorObjects;
|
|
}
|
|
|
|
public synchronized Throwable fillInStackTrace()
|
|
{
|
|
return this;
|
|
}
|
|
} |