org.glassfish.api.admin
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.glassfish.api.admin.CommandException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthenticationException, CommandValidationException, InvalidCommandException, SSHCommandExecutionException

public class CommandException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
CommandException()
          Creates new CommandException without detail message.
CommandException(java.lang.String msg)
          Constructs a CommandException with the specified detail message.
CommandException(java.lang.String msg, java.lang.Throwable cause)
          Constructs a new CommandException exception with the specified detailed message and cause.
CommandException(java.lang.Throwable cause)
          Constructs a new CommandException exception with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandException

public CommandException()
Creates new CommandException without detail message.


CommandException

public CommandException(java.lang.String msg)
Constructs a CommandException with the specified detail message.

Parameters:
msg - the detail message.

CommandException

public CommandException(java.lang.Throwable cause)
Constructs a new CommandException exception with the specified cause.


CommandException

public CommandException(java.lang.String msg,
                        java.lang.Throwable cause)
Constructs a new CommandException exception with the specified detailed message and cause.



Copyright © 2012 GlassFish Community. All Rights Reserved.