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
public class CommandException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandException()Creates 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 Detail
-
CommandException
public CommandException()
Creates newCommandExceptionwithout detail message.
-
CommandException
public CommandException(String msg)
Constructs aCommandExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
CommandException
public CommandException(Throwable cause)
Constructs a newCommandExceptionexception with the specified cause.
-
-