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
ConstructorsConstructorDescriptionCreates newCommandExceptionwithout detail message.CommandException(String msg) Constructs aCommandExceptionwith the specified detail message.CommandException(String msg, Throwable cause) Constructs a newCommandExceptionexception with the specified detailed message and cause.CommandException(Throwable cause) Constructs a newCommandExceptionexception 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 newCommandExceptionwithout detail message. -
CommandException
Constructs aCommandExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
CommandException
Constructs a newCommandExceptionexception with the specified cause. -
CommandException
Constructs a newCommandExceptionexception with the specified detailed message and cause.
-