org.netbeans.lib.cvsclient.command
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netbeans.lib.cvsclient.command.CommandException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CommandAbortedException, ResponseException
public class CommandException
- extends java.lang.Exception
This exception is thrown when an error occurs while executing a command.
It is nearly always a container for another exception.
- See Also:
- Serialized Form
Constructor Summary |
CommandException(java.lang.Exception underlyingException,
java.lang.String localizedMessage)
|
CommandException(java.lang.String message,
java.lang.String localizedMessage)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CommandException
public CommandException(java.lang.Exception underlyingException,
java.lang.String localizedMessage)
CommandException
public CommandException(java.lang.String message,
java.lang.String localizedMessage)
getUnderlyingException
public java.lang.Exception getUnderlyingException()
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintStream stream)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
- Overrides:
printStackTrace
in class java.lang.Throwable
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getBundleString
protected static java.lang.String getBundleString(java.lang.String key)
getLocalMessage
public static java.lang.String getLocalMessage(java.lang.String key)
getLocalMessage
public static java.lang.String getLocalMessage(java.lang.String key,
java.lang.Object[] arguments)