public class TR069Exception extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static int |
INTERNAL_ERROR
9002 Internal error
|
static int |
INVALID_ARGUMENTS
9003 Invalid Arguments
|
static int |
INVALID_PARAMETER_NAME
9005 Invalid parameter name (associated with Set/GetParameterValues,
GetParameterNames, Set/GetParameterAttributes, AddObject, and
DeleteObject)
|
static int |
INVALID_PARAMETER_TYPE
9006 Invalid parameter type (associated with SetParameterValues)
|
static int |
INVALID_PARAMETER_VALUE
9007 Invalid parameter value (associated with SetParameterValues)
|
static int |
METHOD_NOT_SUPPORTED
9000 Method not supported
|
static int |
NON_WRITABLE_PARAMETER
9008 Attempt to set a non-writable parameter (associated with
SetParameterValues)
|
static int |
NOTIFICATION_REJECTED
9009 Notification request rejected (associated with
SetParameterAttributes method).
|
static int |
REQUEST_DENIED
9001 Request denied (no reason specified
|
static int |
RESOURCES_EXCEEDED
9004 Resources exceeded (when used in association with
SetParameterValues, this MUST NOT be used to indicate parameters in
error)
|
Constructor and Description |
---|
TR069Exception(DmtException e)
Create a TR069Exception from a Dmt Exception.
|
TR069Exception(String message)
A default constructor when only a message is known.
|
TR069Exception(String message,
int faultCode)
A Constructor with a message and a fault code.
|
TR069Exception(String message,
int faultCode,
DmtException e)
A Constructor with a message and a fault code.
|
Modifier and Type | Method and Description |
---|---|
DmtException |
getDmtException() |
int |
getFaultCode()
Answer the associated TR-069 fault code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int METHOD_NOT_SUPPORTED
public static final int REQUEST_DENIED
public static final int INTERNAL_ERROR
public static final int INVALID_ARGUMENTS
public static final int RESOURCES_EXCEEDED
public static final int INVALID_PARAMETER_NAME
public static final int INVALID_PARAMETER_TYPE
public static final int INVALID_PARAMETER_VALUE
public static final int NON_WRITABLE_PARAMETER
public static final int NOTIFICATION_REJECTED
public TR069Exception(String message)
INTERNAL_ERROR
fault.message
- The messagepublic TR069Exception(String message, int faultCode, DmtException e)
message
- The messagefaultCode
- The TR-069 defined fault codee
- public TR069Exception(String message, int faultCode)
message
- The messagefaultCode
- The TR-069 defined fault codepublic TR069Exception(DmtException e)
e
- The Dmt Exceptionpublic int getFaultCode()
public DmtException getDmtException()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0