|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.w3c.ddr.simple.exception.DDRException org.w3c.ddr.simple.exception.NameException
public class NameException
This exception is thrown when an attempt is made to access a Property or Aspect when the name or vocabulary IRI is in error. The exception code, when set, indicates the nature of the error.
Field Summary | |
---|---|
static int |
ASPECT_NOT_RECOGNIZED
Code for 'Aspect not recognized'. |
static int |
PROPERTY_NOT_RECOGNIZED
Code for 'Property not recognized'. |
static int |
VOCABULARY_NOT_RECOGNIZED
Code for 'Vocabulary not recognized'. |
Fields inherited from class org.w3c.ddr.simple.exception.DDRException |
---|
code, IMPLEMENTATION_ERROR |
Constructor Summary | |
---|---|
NameException()
Constructs a NameException instance with default exception code. |
|
NameException(int code,
java.lang.String message)
Constructs a NameException instance with a code and human-readable message. |
|
NameException(int code,
java.lang.Throwable thr)
Constructs a NameException instance with a code and an instance of Throwable, which may contain additional information pertaining to 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 PROPERTY_NOT_RECOGNIZED
public static int VOCABULARY_NOT_RECOGNIZED
public static int ASPECT_NOT_RECOGNIZED
Constructor Detail |
---|
public NameException()
public NameException(int code, java.lang.String message)
code
- This should be a constant from this exception class.message
- Diagnostic message intended for human reading.public NameException(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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |