public class ZLogstreamException
extends java.io.IOException
Constructor and Description |
---|
ZLogstreamException(java.lang.String msg,
java.lang.String logstreamName,
int returnCode,
int reasonCode)
Construct a ZLogstreamException.
|
Modifier and Type | Method and Description |
---|---|
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
|
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 servicepublic java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLogstreamName()
public void setLogstreamName(java.lang.String nm)
public int getReturnCode()
public int getReasonCode()
public boolean isTokenInvalidError()
public boolean isStagingFormattingNotFinished()