|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.w3c.ddr.simple.exception.DDRException
org.w3c.ddr.simple.exception.ValueException
public class ValueException
This exception represents an error with a value associated with a Property and would most likely be thrown when an error is detected during an attempt to retrieve the value of a Property.
Field Summary | |
---|---|
static int |
INCOMPATIBLE_TYPES
Code for 'Incompatible type'. |
static int |
MULTIPLE_VALUES
Code for 'Multiple values'. |
static int |
NOT_KNOWN
Code for 'Not known'. |
Fields inherited from class org.w3c.ddr.simple.exception.DDRException |
---|
code, IMPLEMENTATION_ERROR |
Constructor Summary | |
---|---|
ValueException()
Constructs a ValueException instance with a default exception code. |
|
ValueException(int code,
java.lang.String message)
Constructs a ValueException instance with a code and human-readable diagnostic message. |
|
ValueException(int code,
java.lang.Throwable thr)
Constructs a ValueException instance with a code and Throwable object that may indicate further details of the cause of the exception. |
Method Summary |
---|
Methods inherited from class org.w3c.ddr.simple.exception.DDRException |
---|
getCode, getMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int INCOMPATIBLE_TYPES
public static int NOT_KNOWN
public static int MULTIPLE_VALUES
Constructor Detail |
---|
public ValueException()
public ValueException(int code, java.lang.String message)
code
- This should be a constant from this exception class.message
- Diagnostic message intended for human reading.public ValueException(int code, java.lang.Throwable thr)
code
- This should be a constant from this exception class.thr
- A Throwable object that may contain further details on the exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |