Package org.glassfish.api.admin
Class InvalidCommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.glassfish.api.admin.CommandException
-
- org.glassfish.api.admin.InvalidCommandException
-
- All Implemented Interfaces:
Serializable
public class InvalidCommandException extends CommandException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCommandException()
Creates newInvalidCommandException
without detail message.InvalidCommandException(String cmdName)
Constructs anInvalidCommandException
with the specified detail message.InvalidCommandException(String msg, Throwable cause)
Constructs a newInvalidCommandException
exception with the specified detailed message and cause.InvalidCommandException(Throwable cause)
Constructs a newInvalidCommandException
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 Detail
-
InvalidCommandException
public InvalidCommandException()
Creates newInvalidCommandException
without detail message.
-
InvalidCommandException
public InvalidCommandException(String cmdName)
Constructs anInvalidCommandException
with the specified detail message.- Parameters:
msg
- the detail message.
-
InvalidCommandException
public InvalidCommandException(Throwable cause)
Constructs a newInvalidCommandException
exception with the specified cause.
-
-