Package org.osgi.service.onem2m
Class OneM2MException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.osgi.service.onem2m.OneM2MException
- All Implemented Interfaces:
 Serializable
General Exception for oneM2M.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionOneM2MException(String message, int errorCode) Construct a OneM2MException with a message and an error code. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
OneM2MException
Construct a OneM2MException with a message and an error code.- Parameters:
 message- The exception message.errorCode- The exception error code.
 
 - 
 - 
Method Details
- 
getErrorCode
public int getErrorCode()Return the error code for the exception.- Returns:
 - The error code for the exception.
 
 
 -