org.jboss.console.twiddle.command
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.util.NestedException
              extended by org.jboss.console.twiddle.command.CommandException
All Implemented Interfaces:
Serializable, org.jboss.util.NestedThrowable
Direct Known Subclasses:
NoSuchCommandException

public class CommandException
extends org.jboss.util.NestedException

A command exception.

Version:
$Revision: 1.1.16.1 $
Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.util.NestedThrowable
org.jboss.util.NestedThrowable.Util
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedException
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
CommandException()
          Construct a CommandException with no detail.
CommandException(String msg)
          Construct a CommandException with the specified detail message.
CommandException(String msg, Throwable nested)
          Construct a CommandException with the specified detail message and nested Throwable.
CommandException(Throwable nested)
          Construct a CommandException with the specified nested Throwable.
 
Method Summary
 
Methods inherited from class org.jboss.util.NestedException
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(String msg)
Construct a CommandException with the specified detail message.

Parameters:
msg - Detail message.

CommandException

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

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

CommandException

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

Parameters:
nested - Nested Throwable.

CommandException

public CommandException()
Construct a CommandException with no detail.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.