com.gargoylesoftware.base.objectstore
Class ObjectStoreCommandNotSupportedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.gargoylesoftware.base.objectstore.ObjectStoreCommandNotSupportedException
All Implemented Interfaces:
Serializable

public class ObjectStoreCommandNotSupportedException
extends 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.5 $
Author:
Mike Bowler
See Also:
Serialized Form

Constructor Summary
ObjectStoreCommandNotSupportedException(ObjectStoreCommand command)
          Constructor for the ObjectStoreCommandNotSupportedException object
ObjectStoreCommandNotSupportedException(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
 

Constructor Detail

ObjectStoreCommandNotSupportedException

public ObjectStoreCommandNotSupportedException(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


Copyright © 1998-2005 Gargoyle Software Inc.. All Rights Reserved.