|
OSGi™ Service Platform Residential Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.service.tr069todmt.TR069Exception
public class TR069Exception
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.
Field Summary | |
---|---|
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 Summary | |
---|---|
TR069Exception(DmtException e)
Create a TR069Exception from a Dmt Exception. |
|
TR069Exception(java.lang.String message)
A default constructor when only a message is known. |
|
TR069Exception(java.lang.String message,
int faultCode)
A Constructor with a message and a fault code. |
|
TR069Exception(java.lang.String message,
int faultCode,
DmtException e)
A Constructor with a message and a fault code. |
Method Summary | |
---|---|
DmtException |
getDmtException()
|
int |
getFaultCode()
Answer the associated TR-069 fault code. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public TR069Exception(java.lang.String message)
INTERNAL_ERROR
fault.
message
- The messagepublic TR069Exception(java.lang.String message, int faultCode, DmtException e)
message
- The messagefaultCode
- The TR-069 defined fault codee
- public TR069Exception(java.lang.String message, int faultCode)
message
- The messagefaultCode
- The TR-069 defined fault codepublic TR069Exception(DmtException e)
e
- The Dmt ExceptionMethod Detail |
---|
public int getFaultCode()
public DmtException getDmtException()
|
OSGi™ Service Platform Residential Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |