Class TR069Exception

All Implemented Interfaces:
Serializable

public class TR069Exception extends RuntimeException
This exception is defined in terms of applicable TR-069 fault codes. The TR-069 specification defines the fault codes that can occur in different situations.
See Also:
  • Field Details

    • METHOD_NOT_SUPPORTED

      public static final int METHOD_NOT_SUPPORTED
      9000 Method not supported
      See Also:
    • REQUEST_DENIED

      public static final int REQUEST_DENIED
      9001 Request denied (no reason specified
      See Also:
    • INTERNAL_ERROR

      public static final int INTERNAL_ERROR
      9002 Internal error
      See Also:
    • INVALID_ARGUMENTS

      public static final int INVALID_ARGUMENTS
      9003 Invalid Arguments
      See Also:
    • RESOURCES_EXCEEDED

      public static final int RESOURCES_EXCEEDED
      9004 Resources exceeded (when used in association with SetParameterValues, this MUST NOT be used to indicate parameters in error)
      See Also:
    • INVALID_PARAMETER_NAME

      public static final int INVALID_PARAMETER_NAME
      9005 Invalid parameter name (associated with Set/GetParameterValues, GetParameterNames, Set/GetParameterAttributes, AddObject, and DeleteObject)
      See Also:
    • INVALID_PARAMETER_TYPE

      public static final int INVALID_PARAMETER_TYPE
      9006 Invalid parameter type (associated with SetParameterValues)
      See Also:
    • INVALID_PARAMETER_VALUE

      public static final int INVALID_PARAMETER_VALUE
      9007 Invalid parameter value (associated with SetParameterValues)
      See Also:
    • NON_WRITABLE_PARAMETER

      public static final int NON_WRITABLE_PARAMETER
      9008 Attempt to set a non-writable parameter (associated with SetParameterValues)
      See Also:
    • NOTIFICATION_REJECTED

      public static final int NOTIFICATION_REJECTED
      9009 Notification request rejected (associated with SetParameterAttributes method).
      See Also:
  • Constructor Details

    • TR069Exception

      public TR069Exception(String message)
      A default constructor when only a message is known. This will generate a INTERNAL_ERROR fault.
      Parameters:
      message - The message
    • TR069Exception

      public TR069Exception(String message, int faultCode, DmtException e)
      A Constructor with a message and a fault code.
      Parameters:
      message - The message
      faultCode - The TR-069 defined fault code
      e -
    • TR069Exception

      public TR069Exception(String message, int faultCode)
      A Constructor with a message and a fault code.
      Parameters:
      message - The message
      faultCode - The TR-069 defined fault code
    • TR069Exception

      public TR069Exception(DmtException e)
      Create a TR069Exception from a Dmt Exception.
      Parameters:
      e - The Dmt Exception
  • Method Details

    • getFaultCode

      public int getFaultCode()
      Answer the associated TR-069 fault code.
      Returns:
      Answer the associated TR-069 fault code.
    • getDmtException

      public DmtException getDmtException()
      Returns:
      the corresponding Dmt Exception