de.smartics.ci.comm.command
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.smartics.ci.comm.command.CommandException
-
All Implemented Interfaces:
-
Serializable
-
Direct Known Subclasses:
-
InvalidRequestException,
LoginCommandException
-
public class CommandException
-
extends
Exception
Signals problems encountered while executing a command preventing a valid CommandResult
.
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommandException
public CommandException(String message)
-
Convenience constructor without a cause.
-
Parameters:
-
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
CommandException
public CommandException(String message,
Throwable cause)
-
Default constructor.
-
Parameters:
-
message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).
-
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
See Also:
-
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable)
Copyright © 2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.