Skip navigation links
com.stellent.cis.client.command
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stellent.cis.common.exception.BaseException
com.stellent.cis.client.command.CommandException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CommandClientConnectException, CommandCreateException, CommandNotFoundException
-
public class CommandException
- extends BaseException
Base class for exceptions thrown within an ICommand
object.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FRAMEWORK_ERROR
public static final int FRAMEWORK_ERROR
- Indicates a framework error has occurred
- See Also:
- Constant Field Values
BADPARAM_ERROR
public static final int BADPARAM_ERROR
- Indicates the parameters supplied are invalid
- See Also:
- Constant Field Values
REPOSITORY_ERROR
public static final int REPOSITORY_ERROR
- Indicates that repository rejected request
- See Also:
- Constant Field Values
CommandException
public CommandException()
CommandException
public CommandException(java.lang.String message)
CommandException
public CommandException(java.lang.String message,
java.lang.Throwable cause)
CommandException
public CommandException(java.lang.Throwable cause)
getType
public int getType()
-
- Returns:
- The type of the root cause of this exception {FRAMEWORK_ERROR, BADPARAM_ERROR, REPOSITORY_ERROR}
Skip navigation links
Copyright © 1996, 2010, Oracle and/or its affiliates. All rights reserved.