7.0 Action Request System Java API

com.remedy.arsys.api
Class ARException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.remedy.arsys.api.ARException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ARBulkException

public class ARException
extends java.lang.Exception

The ARException class represents the exceptions generated by API. StatusInfo represents the actual information returned by the system.

See Also:
Serialized Form

Constructor Summary
ARException()
          constructor
ARException(StatusInfo[] lastStatus)
           
 
Method Summary
 void clear()
          Release all variable object references.
 void describe()
          Prints out last status of object
protected  void finalize()
          Clears up all variable object references if it is called, even through there is no guarantee to be called.
 StatusInfo[] getLastStatus()
          Returns last status of operation.
 java.lang.String getMessage()
          Returns in a String object for all of the status messages.
 void setLastStatus(StatusInfo[] lastStatus)
          Sets last status of operation.
 java.lang.String toString()
          Returns in a String object all of the status messages.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ARException

public ARException()
constructor


ARException

public ARException(StatusInfo[] lastStatus)
Method Detail

describe

public void describe()
Prints out last status of object


toString

public java.lang.String toString()
Returns in a String object all of the status messages.


getMessage

public java.lang.String getMessage()
Returns in a String object for all of the status messages.


getLastStatus

public StatusInfo[] getLastStatus()
Returns last status of operation.


setLastStatus

public void setLastStatus(StatusInfo[] lastStatus)
Sets last status of operation.


clear

public void clear()
Release all variable object references. Since most of those references are JNI objects, gc will not reclaim them if we do not release them specificly. Client should call this in their finally block when done with this object.


finalize

protected void finalize()
                 throws java.lang.Throwable
Clears up all variable object references if it is called, even through there is no guarantee to be called. Basically, the finalize method calls clear(). Client should call this in their finally block when done with this object.

Throws:
java.lang.Throwable

7.0 Action Request System Java API