org.jboss.console.twiddle.command
Class CommandException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jboss.util.NestedException (src) 
              extended byorg.jboss.console.twiddle.command.CommandException
All Implemented Interfaces:
NestedThrowable (src) , java.io.Serializable
Direct Known Subclasses:
NoSuchCommandException (src)

public class CommandException
extends NestedException (src)

A command exception.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable (src)
NestedThrowable.Util (src)
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedException (src)
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable (src)
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
CommandException()
          Construct a CommandException with no detail.
CommandException(java.lang.String msg)
          Construct a CommandException with the specified detail message.
CommandException(java.lang.String msg, java.lang.Throwable nested)
          Construct a CommandException with the specified detail message and nested Throwable.
CommandException(java.lang.Throwable nested)
          Construct a CommandException with the specified nested Throwable.
 
Methods inherited from class org.jboss.util.NestedException (src)
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandException

public CommandException(java.lang.String msg)
Construct a CommandException with the specified detail message.

Parameters:
msg - Detail message.

CommandException

public CommandException(java.lang.String msg,
                        java.lang.Throwable nested)
Construct a CommandException with the specified detail message and nested Throwable.

Parameters:
msg - Detail message.
nested - Nested Throwable.

CommandException

public CommandException(java.lang.Throwable nested)
Construct a CommandException with the specified nested Throwable.

Parameters:
nested - Nested Throwable.

CommandException

public CommandException()
Construct a CommandException with no detail.