info.joseluismartin.cmd
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by info.joseluismartin.cmd.CommandException
All Implemented Interfaces:
Serializable

public class CommandException
extends RuntimeException

A Command Exception

Author:
Jose Luis Martin - (chelu.es@gmail.com)
See Also:
Serialized Form

Constructor Summary
CommandException()
          Ctor.
CommandException(String message)
          Ctor.
CommandException(String message, Throwable cause)
          Ctor.
CommandException(Throwable cause)
          Ctor.
 
Method Summary
 Object getArg()
          Getter for arg.
 void setArg(Object arg)
          Setter for arg
 
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()
Ctor.


CommandException

public CommandException(String message,
                        Throwable cause)
Ctor.

Parameters:
message - exception message
cause - the upper cause

CommandException

public CommandException(String message)
Ctor.

Parameters:
message - exception message

CommandException

public CommandException(Throwable cause)
Ctor.

Parameters:
cause - the upper cause
Method Detail

getArg

public Object getArg()
Getter for arg.

Returns:
the arg

setArg

public void setArg(Object arg)
Setter for arg

Parameters:
arg - to set


Copyright © 2012 JDAL. All Rights Reserved.