com.gargoylesoftware.base.objectstore
Class ObjectStoreCommandNotSupportedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gargoylesoftware.base.objectstore.ObjectStoreCommandNotSupportedException
All Implemented Interfaces:
java.io.Serializable

public class ObjectStoreCommandNotSupportedException
extends java.lang.RuntimeException

Exception that will be thrown when a command is passed into an object store and that store does not understand the specified command.

Version:
$Revision: 1.6 $
Author:
Mike Bowler
See Also:
Serialized Form

Field Summary
private  ObjectStoreCommand command_
           
private static long serialVersionUID
           
 
Constructor Summary
ObjectStoreCommandNotSupportedException(ObjectStoreCommand command)
          Constructor for the ObjectStoreCommandNotSupportedException object
ObjectStoreCommandNotSupportedException(java.lang.String message)
          Deprecated. Use the constructor that takes a command
 
Method Summary
 ObjectStoreCommand getCommand()
          Return the command or null if the command wasn't set
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

command_

private final ObjectStoreCommand command_
Constructor Detail

ObjectStoreCommandNotSupportedException

public ObjectStoreCommandNotSupportedException(java.lang.String message)
Deprecated. Use the constructor that takes a command

Instantiate one.

Parameters:
message - The message

ObjectStoreCommandNotSupportedException

public ObjectStoreCommandNotSupportedException(ObjectStoreCommand command)
Constructor for the ObjectStoreCommandNotSupportedException object

Parameters:
command - The command that was not supported
Method Detail

getCommand

public ObjectStoreCommand getCommand()
Return the command or null if the command wasn't set

Returns:
The command value