Class KamiCommonException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.kamikazejam.kamicommon.util.exception.KamiCommonException
All Implemented Interfaces:
Serializable

public class KamiCommonException extends Exception
A checked exception whose payload is a message for the sender rather than a stack trace. Throw it from a Type or from a command's perform method to stop execution and tell the sender why; the command framework catches it, sends the attached message if there is one, and prints nothing to the console. Construct it empty and attach the message with one of the addMsg methods, each of which returns this for chaining.
See Also: