at.ac.tuwien.dslab.rmi.common.impl
Class InvalidCommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by at.ac.tuwien.dslab.rmi.common.impl.FileManException
              extended by at.ac.tuwien.dslab.rmi.common.impl.InvalidCommandException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCommandException
extends FileManException

The InvalidCommandException is used to signal invalid commands or arguments at the client.

See Also:
Serialized Form

Constructor Summary
InvalidCommandException(java.lang.String message)
          Creates a new InvalidCommandException using an error message.
InvalidCommandException(java.lang.String message, java.lang.Throwable cause)
          Creates a new InvalidCommandException using an error message and a given 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidCommandException

public InvalidCommandException(java.lang.String message)
Creates a new InvalidCommandException using an error message.

Parameters:
message - The error message.

InvalidCommandException

public InvalidCommandException(java.lang.String message,
                               java.lang.Throwable cause)
Creates a new InvalidCommandException using an error message and a given cause.

Parameters:
message - The error message.
cause - The exception which caused this one.