Class CommandContext.Fault

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CommandContext

    public class CommandContext.Fault
    extends java.lang.Exception
    This exception is used to report problems while executing a command.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CommandContext getContext()
      Get the command context object that created this fault object.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getContext

        public CommandContext getContext()
        Get the command context object that created this fault object.
        Returns:
        the command context object that created this fault object