Class OneM2MException

All Implemented Interfaces:

public class OneM2MException extends IOException
General Exception for oneM2M.
See Also:
  • Constructor Details

    • OneM2MException

      public OneM2MException(String message, int errorCode)
      Construct a OneM2MException with a message and an error code.
      message - The exception message.
      errorCode - The exception error code.
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Return the error code for the exception.
      The error code for the exception.