com.hp.hpl.jena.reasoner.dig
Class DIGErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.shared.JenaException
com.hp.hpl.jena.reasoner.dig.DIGReasonerException
com.hp.hpl.jena.reasoner.dig.DIGErrorResponseException
- All Implemented Interfaces:
- Serializable
public class DIGErrorResponseException
- extends DIGReasonerException
An exception that encapsulates an error response from the DIG server, including
error number and message.
- Version:
- Release @release@ ($Id: DIGErrorResponseException.java,v 1.4 2004/12/07 09:56:35 andy_seaborne Exp $)
- Author:
- Ian Dickinson, HP Labs (email)
- See Also:
- Serialized Form
GENERAL_UNSPECIFIED_ERROR
public static final int GENERAL_UNSPECIFIED_ERROR
- See Also:
- Constant Field Values
UNKNOWN_REQUEST
public static final int UNKNOWN_REQUEST
- See Also:
- Constant Field Values
MAFORMED_REQUEST
public static final int MAFORMED_REQUEST
- See Also:
- Constant Field Values
UNSUPPORTED_OPERATION
public static final int UNSUPPORTED_OPERATION
- See Also:
- Constant Field Values
CANNOT_CREATE_NEW_KB
public static final int CANNOT_CREATE_NEW_KB
- See Also:
- Constant Field Values
MALFORMED_KB_URI
public static final int MALFORMED_KB_URI
- See Also:
- Constant Field Values
UNKNOWN_OR_STALE_KB_URI
public static final int UNKNOWN_OR_STALE_KB_URI
- See Also:
- Constant Field Values
KB_RELEASE_ERROR
public static final int KB_RELEASE_ERROR
- See Also:
- Constant Field Values
MISSING_URI
public static final int MISSING_URI
- See Also:
- Constant Field Values
GENERAL_TELL_ERROR
public static final int GENERAL_TELL_ERROR
- See Also:
- Constant Field Values
UNSUPPORTED_TELL_OPERATION
public static final int UNSUPPORTED_TELL_OPERATION
- See Also:
- Constant Field Values
UNKNOWN_TELL_OPERATION
public static final int UNKNOWN_TELL_OPERATION
- See Also:
- Constant Field Values
GENERAL_ASK_ERROR
public static final int GENERAL_ASK_ERROR
- See Also:
- Constant Field Values
UNSUPPORTED_ASK_OPERATION
public static final int UNSUPPORTED_ASK_OPERATION
- See Also:
- Constant Field Values
UNKNOWN_ASK_OPERATION
public static final int UNKNOWN_ASK_OPERATION
- See Also:
- Constant Field Values
DIGErrorResponseException
public DIGErrorResponseException(String msg,
String msgAttr,
int errorCode)
getErrorCode
public int getErrorCode()
Answer the error code sent back by DIG. Well known error codes are listed
as constants exported from this class.
- Returns:
- The DIG error code; the value of the
code
attribute in
the error response returned by the reasoner.
getMessage
public String getMessage()
Answer the error message sent back by DIG.
- Overrides:
getMessage
in class Throwable
- Returns:
- The DIG error message; the value of the
msg
attribute
in the error response returned by the reasoner
Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP