de.smartics.ci.comm.command
Class CommandException

Package class diagram package CommandException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.smartics.ci.comm.command.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidRequestException, LoginCommandException

public class CommandException
     
     
extends Exception

Signals problems encountered while executing a command preventing a valid CommandResult.

See Also:
Serialized Form

Constructor Summary
CommandException(String message)
          Convenience constructor without a cause.
CommandException(String message, Throwable cause)
          Default constructor.
 
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(String message)
Convenience constructor without a cause.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).

CommandException

public CommandException(String message,
                        Throwable cause)
Default constructor.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
See Also:
RuntimeException.RuntimeException(java.lang.String, java.lang.Throwable)


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.