|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.bmc.arsys.api.ARException
public class ARException
The ARException
class represents the exceptions generated by API. StatusInfo
represents the
actual information returned by the system.
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ARException()
public ARException(List<StatusInfo> lastStatus)
lastStatus
- public ARException(int returnCode, int errorCode)
returnCode
- errorCode
- public ARException(int returnCode, int errorCode, String appendMsg)
public ARException(int returnCode, int errorCode, String appendMsg, Locale locale)
returnCode
- errorCode
- appendMsg
- locale
- Method Detail |
---|
public List<StatusInfo> getLastStatus()
public void setLastStatus(List<StatusInfo> lastStatus)
lastStatus
- public String toString()
toString
in class Throwable
public String getMessage()
getMessage
in class Throwable
public void clear()
public boolean canErrorBeIgnored(int[] ignoredErrors)
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |