public class ZFileException
extends java.io.IOException
The following codes are available from the C++ library __amrc.__code structure if errno is non-zero. Refer to the z/OS C++ Programming Guide "Debugging IO Programs" for information on when these codes apply and how to interpret these codes.
Constructor and Description |
---|
ZFileException(java.lang.String fileName,
java.lang.String msg,
int errno)
Construct a ZFileException.
|
ZFileException(java.lang.String fileName,
java.lang.String msg,
java.lang.String errnoMsg,
int errno,
int errno2,
int lastOp,
byte[] amrc_code_bytes)
Construct a ZFileException.
|
Modifier and Type | Method and Description |
---|---|
int |
getAbendCode() |
int |
getAbendRc() |
int |
getAllocSvc99Error() |
int |
getAllocSvc99Info() |
int |
getErrno() |
int |
getErrno2() |
java.lang.String |
getErrnoMsg() |
int |
getErrorCode() |
int |
getFeedbackFdbk() |
int |
getFeedbackFtncd() |
int |
getFeedbackRc() |
java.lang.String |
getFileName() |
int |
getLastOp() |
java.lang.String |
getMessage()
Get a message string to decribe the exception.
|
public ZFileException(java.lang.String fileName, java.lang.String msg, java.lang.String errnoMsg, int errno, int errno2, int lastOp, byte[] amrc_code_bytes)
fileName
- the name of the file opened by ZFilemsg
- the message from the point where the error occurrederrnoMsg
- the C library strerror(errno) messageerrno
- the C library errnoerrno2
- the C library errno2lastOp
- the C library __amrc.__last_op valueamrc_code_bytes
- the C library __amrc.__code structure bytespublic ZFileException(java.lang.String fileName, java.lang.String msg, int errno)
fileName
- the name of the file opened by ZFilemsg
- the message from the point where the error occurrederrno
- the C library errnopublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public int getErrno()
public int getErrno2()
public java.lang.String getErrnoMsg()
public int getErrorCode()
public int getAbendCode()
public int getAbendRc()
public int getFeedbackRc()
public int getFeedbackFtncd()
public int getFeedbackFdbk()
public int getAllocSvc99Info()
public int getAllocSvc99Error()
public java.lang.String getFileName()
public int getLastOp()