com.ibm.as400.opnav
Class ObjectNameException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.as400.opnav.ObjectNameException
- public class ObjectNameException
- extends java.lang.Exception
Thrown when ObjectName encounters an error.
- Since:
- v4r4m0
- See Also:
- Serialized Form
Constructor Summary |
ObjectNameException()
Constructs an ObjectNameException without a
detail message. |
ObjectNameException(java.lang.String s)
Constructs an ObjectNameException with a detail message. |
ObjectNameException(java.lang.String s,
int rc)
Constructs an ObjectNameException 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 ObjectNameException. |
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 |
ObjectNameException
public ObjectNameException()
- Constructs an
ObjectNameException
without a
detail message.
- Since:
- v4r4m0
ObjectNameException
public ObjectNameException(java.lang.String s)
- Constructs an
ObjectNameException
with a detail message.
- Parameters:
s
- The detail message. The detail message will be the name of the API that failed.- Since:
- v4r4m0
ObjectNameException
public ObjectNameException(java.lang.String s,
int rc)
- Constructs an
ObjectNameException
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
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 ObjectNameException.
- Overrides:
- toString in class java.lang.Throwable
- Returns:
- A short description of this ObjectNameException.