AR System Java API

com.bmc.arsys.api
Class ARMultiStatusException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.bmc.arsys.api.ARException
              extended by com.bmc.arsys.api.ARMultiStatusException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ARSetGetEntryException

public class ARMultiStatusException
extends ARException

The ARMultiStatusException class represents the exceptions generated by API. StatusInfo represents the actual information returned by the system. This class can returns two StatusInfo

See Also:
Serialized Form

Constructor Summary
ARMultiStatusException()
          constructor
ARMultiStatusException(List<StatusInfo> statusInfo1, List<StatusInfo> statusInfo2)
          constructor
 
Method Summary
 void clear()
          Release all variable object references.
 List<List<StatusInfo>> getMultiLastStatus()
          Returns list of last status of operation.
 List<StatusInfo> getStatus1()
          Returns status1 of operation.
 List<StatusInfo> getStatus2()
          Returns status2 of operation.
 void setMultiLastStatus(List<List<StatusInfo>> lastStatusList)
          Set the list of last status of operation
 
Methods inherited from class com.bmc.arsys.api.ARException
canErrorBeIgnored, getLastStatus, getMessage, setLastStatus, toString
 
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

ARMultiStatusException

public ARMultiStatusException()
constructor


ARMultiStatusException

public ARMultiStatusException(List<StatusInfo> statusInfo1,
                              List<StatusInfo> statusInfo2)
constructor

Parameters:
statusInfo1 -
statusInfo2 -
Method Detail

getMultiLastStatus

public List<List<StatusInfo>> getMultiLastStatus()
Returns list of last status of operation.


setMultiLastStatus

public void setMultiLastStatus(List<List<StatusInfo>> lastStatusList)
Set the list of last status of operation

Parameters:
lastStatusList -

getStatus1

public List<StatusInfo> getStatus1()
Returns status1 of operation.


getStatus2

public List<StatusInfo> getStatus2()
Returns status2 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.

Overrides:
clear in class ARException

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.