Package org.glassfish.api.admin
Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.glassfish.api.admin.CommandException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationException
,CommandValidationException
,InvalidCommandException
,SSHCommandExecutionException
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates newCommandException
without detail message.CommandException
(String msg) Constructs aCommandException
with the specified detail message.CommandException
(String msg, Throwable cause) Constructs a newCommandException
exception with the specified detailed message and cause.CommandException
(Throwable cause) Constructs a newCommandException
exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandException
public CommandException()Creates newCommandException
without detail message. -
CommandException
Constructs aCommandException
with the specified detail message.- Parameters:
msg
- the detail message.
-
CommandException
Constructs a newCommandException
exception with the specified cause. -
CommandException
Constructs a newCommandException
exception with the specified detailed message and cause.
-