Class OneM2MException

All Implemented Interfaces:
Serializable

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.
      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.