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:
java.io.Serializable
public class OneM2MException extends java.io.IOException
General Exception for oneM2M.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OneM2MException(java.lang.String message, int errorCode)
Construct a OneM2MException with a message and an error code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
Return the error code for the exception.
-