|
||||||||||
| 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
|
+--com.hp.hpl.mesa.rdf.jena.model.RDFException
|
+--com.hp.hpl.mesa.rdf.jena.bdb.BDBException
A class of RDF Exceptions specific to the Berkeley DB implementation.
| Field Summary | |
static int |
BADENVDIR
There is a problem with the Berkeley DB environment directory |
static int |
BADMAGIC
Bad magic number in database header |
static int |
CREATEENVDIR
cannot create the Berkeley DB environment directory is not a directory |
static int |
DBALREADYOPEN
database is already open |
static int |
DBCORRUPT
database structure corrupt |
static int |
HEADERCORRUPT
database header corrupt |
| Fields inherited from class com.hp.hpl.mesa.rdf.jena.model.RDFException |
ALTHASNODEFAULT, ASSERTIONFAILURE, INVALIDBOOLEANFORMAT, INVALIDERRORCODE, INVALIDPROPERTYURI, ITERATORCLOSED, LITERALNOTCHAR, NESTEDEXCEPTION, NOREADERFORLANG, NORESOURCECONSTRUCTOR, NOSUCHELEMENT, NOTANONRESOURCE, NOTRELATEDTOMODEL, NOWRITERFORLANG, OBJECTNOTLITERAL, OBJECTNOTRESOURCE, OBJECTWRONGTYPE, PROPERTYNOTFOUND, SELECTOREXCEPTION, SEQINDEXBOUNDS, STATEMENTNOTPRESENT, SYNTAXERROR, UNKNOWNPROPERTY, UNSUPPORTEDOPERATION |
| Constructor Summary | |
BDBException(java.lang.Exception e)
Encapsulate an exception in an RDFException. |
|
BDBException(int errorCode)
Create a new RDF exception with the given error code. |
|
BDBException(int errorCode,
java.lang.Exception e)
Create a new RDFException with a given error code and encapsulate another exception. |
|
| Method Summary | |
java.lang.String |
toString()
Return an error message describing the exception. |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.model.RDFException |
getErrorCode, getMessage, getNestedException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int BADENVDIR
public static final int CREATEENVDIR
public static final int DBALREADYOPEN
public static final int DBCORRUPT
public static final int BADMAGIC
public static final int HEADERCORRUPT
| Constructor Detail |
public BDBException(int errorCode)
errorCode - The code number of the error which has occurred.public BDBException(java.lang.Exception e)
e - The exception to be encapsulated.
public BDBException(int errorCode,
java.lang.Exception e)
errorCode - The code number of the error which has occurred.e - The exception to be encapsulated.| Method Detail |
public java.lang.String toString()
toString in class RDFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||