net.java.dev.vcc.api
Class Success

java.lang.Object
  extended by net.java.dev.vcc.api.Success
All Implemented Interfaces:
java.io.Serializable

public final class Success
extends java.lang.Object
implements java.io.Serializable

A class used to signify when a Command either returns success or throws an exception.

See Also:
Serialized Form

Method Summary
protected  java.lang.Object clone()
          Throws CloneNotSupportedException.
static Success getInstance()
          Returns the Success singleton.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Success getInstance()
Returns the Success singleton.

Returns:
the Success singleton.

clone

protected final java.lang.Object clone()
                                throws java.lang.CloneNotSupportedException
Throws CloneNotSupportedException. This guarantees that enums are never cloned, which is necessary to preserve their "singleton" status.

Overrides:
clone in class java.lang.Object
Returns:
(neverreturns)
Throws:
java.lang.CloneNotSupportedException


Copyright © 2009. All Rights Reserved.