com.cisco.provisioning.cpe
Class ProvTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.cisco.provisioning.cpe.BaseException
com.cisco.provisioning.cpe.ProvisioningException
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. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
public static final long serialVersionUID
- Serialization version UID constant for this class
- See Also:
- Constant Field Values
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 withmessage - the message to associate with this exception
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