|
SiteMinder Java SDK r12.51 |
||||||||
| 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.netegrity.sdk.apiutil.SmApiException
public class SmApiException
The SiteMinder API exception is thrown by the Utilities, Delegated Management, and Policy Management packages.
com.netegrity.sdk.apiutil)apitutil package whenever
there is an abnormal condition in the connection to the SiteMinder
Policy Server.com.netegrity.sdk.dmsapi)com.netegrity.sdk.policyapi)dmsapi and policyapi packages pass on
the exception thrown by the apitutil package. These packages
also throw an exception whenever they encounter an abnormal condition.SmApiException holds
the SmApiResult object. Through
SmApiResult, you can retrieve the facility, severity,
and status related to the exception.
| Constructor Summary | |
|---|---|
SmApiException(SmApiResult apiResult)
Constructs a SmApiException with the specified SmApiResult. |
|
| Method Summary | |
|---|---|
void |
appendAdditionalInformation(java.lang.String info)
Add additional text information to the exception. |
SmApiResult |
getApiResult()
Gets an API result. |
int |
getFacility()
Gets the facility code of the exception. |
int |
getReason()
Gets the reason code of the exception. |
int |
getSeverity()
Gets the severity code of the exception. |
int |
getStatus()
Gets the status code of the exception. |
java.lang.String |
toString()
Returns a string representation of the SmApiResult
object in the form of a set of entries separated by the ASCII space
character. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SmApiException(SmApiResult apiResult)
SmApiException with the specified SmApiResult.
apiResult - SmApiResult pertaining to this exception| Method Detail |
|---|
public int getFacility()
public int getSeverity()
public int getReason()
public int getStatus()
public java.lang.String toString()
SmApiResult
object in the form of a set of entries separated by the ASCII space
character. The entire set of entries is enclosed in braces ( [ ] ).[facility=facility severity=severity reason=reason
status=statusCode message=message]
If there is additional information in the exception, it follows the SmApiResult block, with a newline separating it.
toString in class java.lang.Throwablepublic SmApiResult getApiResult()
public void appendAdditionalInformation(java.lang.String info)
info - The additional information to append to the exception.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||