com.cisco.provisioning.cpe
Class AlreadyPostedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.cisco.provisioning.cpe.BaseRuntimeException
                  extended by com.cisco.provisioning.cpe.AlreadyPostedException
All Implemented Interfaces:
Serializable

public class AlreadyPostedException
extends BaseRuntimeException

This exception is thrown on an attempt to re-post an already posted Batch. Batch objects cannot be reused.

See Also:
PACEConnection.newBatch(), Serialized Form

Field Summary
static long serialVersionUID
          Serialization version UID constant for this class
 
Constructor Summary
AlreadyPostedException()
          Constructor for an exception with no text message or nested exception.
AlreadyPostedException(Exception nestedException)
          Constructor for an exception that contains a nested exception.
AlreadyPostedException(Exception nestedException, String message)
          Constructor for an exception that contains a text message and a nested exception.
AlreadyPostedException(String message)
          Constructor for an exception that contains a text message.
 
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
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serialization version UID constant for this class

See Also:
Constant Field Values
Constructor Detail

AlreadyPostedException

public AlreadyPostedException()
Constructor for an exception with no text message or nested exception.


AlreadyPostedException

public AlreadyPostedException(Exception nestedException)
Constructor for an exception that contains a nested exception.

The message for this exception will be the result of toString() of the nestedException (as long as its not null).

Parameters:
nestedException - The exception this exception is explaining in more detail.

AlreadyPostedException

public AlreadyPostedException(String message)
Constructor for an exception that contains a text message.

Parameters:
message - the message to associate with this exception.

AlreadyPostedException

public AlreadyPostedException(Exception nestedException,
                              String message)
Constructor for an exception that contains a text message and a nested exception.

Parameters:
nestedException - the exception this exception is explaining in more detail.

message - the message to associate with this exception.