com.ibm.as400.opnav
Class UIServicesException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.as400.opnav.UIServicesException

public class UIServicesException
extends java.lang.Exception

Thrown when UIServices encounters an error.

Since:
v4r4m0
See Also:
Serialized Form

Constructor Summary
UIServicesException()
          Constructs an UIServicesException without a detail message.
UIServicesException(java.lang.String s)
          Constructs an UIServicesException with a detail message.
UIServicesException(java.lang.String s, int rc)
          Constructs an UIServicesException with a detail message and return code value.
 
Method Summary
 java.lang.String getMessage()
          Returns the message description.
 int getReturnCode()
          Returns the return code value.
 java.lang.String toString()
          Returns a short description of this UIServicesException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UIServicesException

public UIServicesException()
Constructs an UIServicesException without a detail message.
Since:
v4r4m0

UIServicesException

public UIServicesException(java.lang.String s)
Constructs an UIServicesException with a detail message.
Parameters:
s - The detail message. The detail message will be the name of the API that failed.
Since:
v4r4m0

UIServicesException

public UIServicesException(java.lang.String s,
                           int rc)
Constructs an UIServicesException with a detail message and return code value.
Parameters:
s - The detail message. The detail message will be the name of the API that failed.
rc - The return code value.
Since:
v4r4m0
Method Detail

getMessage

public java.lang.String getMessage()
Returns the message description.
Overrides:
getMessage in class java.lang.Throwable
Returns:
The message description.

getReturnCode

public int getReturnCode()
Returns the return code value.
Returns:
The return code value.

toString

public java.lang.String toString()
Returns a short description of this UIServicesException.
Overrides:
toString in class java.lang.Throwable
Returns:
A short description of this UIServicesException.