public class ARException extends Exception
ARException class represents the exceptions generated by API. StatusInfo represents the
actual information returned by the system.| Constructor and Description |
|---|
ARException()
constructor
|
ARException(int returnCode,
int errorCode)
Constructor
|
ARException(int returnCode,
int errorCode,
String appendMsg) |
ARException(int returnCode,
int errorCode,
String appendMsg,
Locale locale)
Constructor
|
ARException(List<StatusInfo> lastStatus)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canErrorBeIgnored(int[] ignoredErrors)
check if this exception only contains errors that can be ignored.
|
void |
clear()
Release all variable object references.
|
List<StatusInfo> |
getLastStatus()
Returns last status of operation.
|
String |
getMessage()
Returns in a String object for all of the status messages.
|
void |
setLastStatus(List<StatusInfo> lastStatus)
Set the last status
|
String |
toString()
Returns a string description of the object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ARException()
public ARException(List<StatusInfo> lastStatus)
lastStatus - public ARException(int returnCode,
int errorCode)
returnCode - errorCode - public ARException(int returnCode,
int errorCode,
String appendMsg)
public List<StatusInfo> getLastStatus()
public void setLastStatus(List<StatusInfo> lastStatus)
lastStatus - public String toString()
public String getMessage()
getMessage in class Throwablepublic void clear()
public boolean canErrorBeIgnored(int[] ignoredErrors)
? Copyright 2013 BMC Software, Inc.