public class ZebraCardException
extends Exception
Constructor and Description |
---|
ZebraCardException()
Constructs a
ZebraCardException |
ZebraCardException(int errorCode,
String message)
Constructs a
ZebraCardException with the errorCode and message . |
ZebraCardException(int errorCode,
String message,
Throwable cause)
Constructs a
ZebraCardException with the errorCode , message and chained exception cause . |
ZebraCardException(String message)
Constructs a
ZebraCardException with message . |
ZebraCardException(String message,
Throwable cause)
Constructs a
ZebraCardException with message and chained exception cause . |
ZebraCardException(Throwable cause)
Constructs a
ZebraCardException with chained exception cause . |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code associated with the exception.
|
public ZebraCardException()
ZebraCardException
public ZebraCardException(String message)
ZebraCardException
with message
.message
- the exception message.public ZebraCardException(Throwable cause)
ZebraCardException
with chained exception cause
.cause
- the chained exception to be thrown.public ZebraCardException(String message, Throwable cause)
ZebraCardException
with message
and chained exception cause
.message
- the exception message.cause
- the chained exception to be thrown.public ZebraCardException(int errorCode, String message)
ZebraCardException
with the errorCode
and message
.errorCode
- the error code associated with the exception.message
- the exception message.public ZebraCardException(int errorCode, String message, Throwable cause)
ZebraCardException
with the errorCode
, message
and chained exception cause
.errorCode
- the error code associated with the exception.message
- the exception message.cause
- the chained exception to be thrown.
© 2016 ZIH Corp. All Rights Reserved.