com.ibm.jzos
Class ErrnoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.jzos.ErrnoException
- All Implemented Interfaces:
- java.io.Serializable
public class ErrnoException
- extends java.lang.RuntimeException
Exception class that holds the errno and errno2 information resulting
from a native call error.
- See Also:
- Serialized Form
Constructor Summary |
ErrnoException(java.lang.String errnoMsg,
int errno,
int errno2)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EINVAL
public static final int EINVAL
- See Also:
- Constant Field Values
ENOMEM
public static final int ENOMEM
- See Also:
- Constant Field Values
EPERM
public static final int EPERM
- See Also:
- Constant Field Values
EMVSERR
public static final int EMVSERR
- See Also:
- Constant Field Values
JR_SMF_NOT_AUTHORIZED
public static final int JR_SMF_NOT_AUTHORIZED
- See Also:
- Constant Field Values
JR_SMF_NOT_ACCEPTING
public static final int JR_SMF_NOT_ACCEPTING
- See Also:
- Constant Field Values
JR_SMF_NOT_ACTIVE
public static final int JR_SMF_NOT_ACTIVE
- See Also:
- Constant Field Values
JR_SMF_ERROR
public static final int JR_SMF_ERROR
- See Also:
- Constant Field Values
JR_SMF_BAD_RECORD_LENGTH
public static final int JR_SMF_BAD_RECORD_LENGTH
- See Also:
- Constant Field Values
JR_INTERNAL_ERROR
public static final int JR_INTERNAL_ERROR
- See Also:
- Constant Field Values
JR_NO_STORAGE
public static final int JR_NO_STORAGE
- See Also:
- Constant Field Values
JR_BAD_ADDRESS
public static final int JR_BAD_ADDRESS
- See Also:
- Constant Field Values
ErrnoException
public ErrnoException(java.lang.String errnoMsg,
int errno,
int errno2)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getErrno
public int getErrno()
getErrno2
public int getErrno2()
getReasonCode
public int getReasonCode()