|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.cisco.provisioning.cpe.BaseException
com.cisco.provisioning.cpe.ProvisioningException
public class ProvisioningException
This exception may be thrown as a result of calling
Batch.post and signals that there was an error while
attempting send the batch to the RDU for processing.
Note: This is different than a batch that had an error while being
processed. This exception is thrown when the batch could not
be processed by or could not be sent to the RDU.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serialization version UID constant for this class |
| Constructor Summary | |
|---|---|
ProvisioningException(String batchID)
Constructor for an exception related to the specified batchID with no text message. |
|
ProvisioningException(String batchID,
Exception nestedException)
Constructor for an exception related to the specified batchID that contains a nested exception. |
|
ProvisioningException(String batchID,
Exception nestedException,
String message)
Constructor for an exception related to the specified batchID that contains a text message and a nested exception. |
|
ProvisioningException(String batchID,
String message)
Constructor for an exception related to the specified batchID that contains a text message. |
|
| Method Summary | |
|---|---|
String |
getBatchID()
Gets the batch ID associated with this exception |
String |
getErrorMessage()
Returns the error message explaining the error encountered. |
BatchStatusCode |
getStatusCode()
Gets the status code for the results |
ProvStatusType |
getStatusType()
Returns the type of interface the implementing object represents. |
boolean |
isError()
Determines whether the status code indicates an error condition |
boolean |
isSystemError()
Determines whether the status code indicates a system-level error. |
| 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 |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ProvisioningException(String batchID)
batchID - the batchID this exception is related to
public ProvisioningException(String batchID,
Exception nestedException)
The message for this exception will be the result of toString() of the nestedException (as long as its not null).
batchID - the batchID this exception is related tonestedException - The exception this exception is explaining in
more detail.
public ProvisioningException(String batchID,
String message)
batchID - the batchID this exception is related tomessage - the message to associate with this exception.
public ProvisioningException(String batchID,
Exception nestedException,
String message)
batchID - the batchID this exception is related tonestedException - the exception this exception is explaining in
more detail.
message - the message to associate with this exception.| Method Detail |
|---|
public ProvStatusType getStatusType()
getStatusType in interface ProvAPIStatuspublic BatchStatusCode getStatusCode()
getStatusCode in interface ProvAPIStatuspublic boolean isError()
isError in interface ProvAPIStatuspublic boolean isSystemError()
isSystemError in interface ProvAPIStatuspublic String getErrorMessage()
getErrorMessage in interface ProvAPIStatuspublic String getBatchID()
getBatchID in interface ProvAPIStatus
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||