com.gargoylesoftware.base.objectstore

Class ObjectStoreCommandNotSupportedException

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.4 $

Author: Mike Bowler

Field Summary
ObjectStoreCommandcommand_
static longserialVersionUID
Constructor Summary
ObjectStoreCommandNotSupportedException(String message)
Instantiate one.
ObjectStoreCommandNotSupportedException(ObjectStoreCommand command)
Constructor for the ObjectStoreCommandNotSupportedException object
Method Summary
ObjectStoreCommandgetCommand()
Return the command or null if the command wasn't set

Field Detail

command_

private final ObjectStoreCommand command_

serialVersionUID

private static final long serialVersionUID

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