public class OneM2MException extends IOException
| Constructor and Description |
|---|
OneM2MException(String message,
int errorCode)
Construct a OneM2MException with a message and an error code.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Return the error code for the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OneM2MException(String message, int errorCode)
message - The exception message.errorCode - The exception error code.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0