|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.ibm.jzos.ZLogstreamException
public class ZLogstreamException
A customized IOException to carry return codes for ZLogstream errors.
| Constructor Summary | |
|---|---|
ZLogstreamException(java.lang.String msg,
java.lang.String logstreamName,
int returnCode,
int reasonCode)
Construct a ZLogstreamException. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLogstreamName()
|
java.lang.String |
getMessage()
Get a message string to decribe the exception. |
int |
getReasonCode()
|
int |
getReturnCode()
|
boolean |
isStagingFormattingNotFinished()
Answers true if RC=8/0x0868, which occurs the first time to try to write to a logger. |
boolean |
isTokenInvalidError()
Answers true if RC=8/0x082D, which occurs if the thread that connected to the logstream terminates. |
void |
setLogstreamName(java.lang.String nm)
Sets the logstreamName |
| 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 |
| Constructor Detail |
|---|
public ZLogstreamException(java.lang.String msg,
java.lang.String logstreamName,
int returnCode,
int reasonCode)
msg - the message from the point where the error occurredlogstreamName - the name of the logstreamreturnCode - the return code from the IXGXXX macro servicereasonCode - the reason code from the IXGXXX macro service| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getLogstreamName()
public void setLogstreamName(java.lang.String nm)
public int getReturnCode()
public int getReasonCode()
public boolean isTokenInvalidError()
public boolean isStagingFormattingNotFinished()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||