com.cisco.provisioning.cpe
Class ProvTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.cisco.provisioning.cpe.BaseException
              extended by com.cisco.provisioning.cpe.ProvisioningException
                  extended by com.cisco.provisioning.cpe.ProvTimeoutException
All Implemented Interfaces:
ProvAPIStatus, Serializable

public class ProvTimeoutException
extends ProvisioningException

This exception may be thrown as a result of calling Batch.post, and signals that the PACE server could not process the posted batch due to a catastrophic failure.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serialization version UID constant for this class
 
Constructor Summary
ProvTimeoutException(String batchID, String message)
          Constructor for an exception reporting the error on the specified batchID with the specified text message.
 
Method Summary
 BatchStatusCode getStatusCode()
          Gets the status code for the results
 
Methods inherited from class com.cisco.provisioning.cpe.ProvisioningException
getBatchID, getErrorMessage, getStatusType, isError, isSystemError
 
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

ProvTimeoutException

public ProvTimeoutException(String batchID,
                            String message)
Constructor for an exception reporting the error on the specified batchID with the specified text message.

Parameters:
batchID - BatchID this exception is associated with
message - the message to associate with this exception
Method Detail

getStatusCode

public BatchStatusCode getStatusCode()
Gets the status code for the results

Specified by:
getStatusCode in interface ProvAPIStatus
Overrides:
getStatusCode in class ProvisioningException
Returns:
status code for the results. This always returns BatchStatusCode.BATCH_POST_TIMEOUT