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()
printStackTrace
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
getLocalizedMessage
public java.lang.String getLocalizedMessage()
getMessage
public java.lang.String getMessage()
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)
Built on February 19 2008. | Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.