|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.novell.ecb.CommandException
CommandException is the base class for all command exceptions.
| Constructor Summary | |
CommandException()
Constructs a CommandException with no arguments. |
|
CommandException(java.lang.String msg)
Constructs a CommandException with a message. |
|
CommandException(java.lang.String msg,
java.lang.Throwable t)
Constructs a CommandException with a Throwable object. |
|
| Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the Throwable object, if available. |
void |
printCauseStackTrace()
Prints this Throwable and its backtrace to the
standard error stream. |
void |
printCauseStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the
specified print stream. |
void |
printCauseStackTrace(java.io.PrintWriter w)
Prints this Throwable and its backtrace to the specified
print writer. |
void |
setRootCause(java.lang.Throwable t)
Sets the Throwable object. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CommandException()
public CommandException(java.lang.String msg)
msg - The message associated with this exception.
public CommandException(java.lang.String msg,
java.lang.Throwable t)
msg - The message associated with this exception.t - The Throwable object.| Method Detail |
public java.lang.Throwable getRootCause()
getRootCause in interface RootCauseThrowable The Throwable object.public void setRootCause(java.lang.Throwable t)
t - The Throwable object.public void printCauseStackTrace()
Throwable and its backtrace to the
standard error stream.
printCauseStackTrace in interface RootCausepublic void printCauseStackTrace(java.io.PrintStream s)
Throwable and its backtrace to the
specified print stream.
printCauseStackTrace in interface RootCauses - The PrintStream to be used for printing the stack
trace of the root exception.public void printCauseStackTrace(java.io.PrintWriter w)
Throwable and its backtrace to the specified
print writer.
printCauseStackTrace in interface RootCausew - The PrintWriter to be used for printing the stack
trace of the root exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||