DIG 1.1 Reasoners API, April 26, 2004 (12:45 PM)

org.kr.dl.dig.reasoner
Class ReasonerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.kr.dl.dig.reasoner.ReasonerException
All Implemented Interfaces:
Serializable

public class ReasonerException
extends Exception

See Also:
Serialized Form

Field Summary
static int ASK_ERROR
          An error occurred within the asks.
static int NO_ASKS
          No asks element was supplied
static int NO_FACTORY_CLASS
          No factory class could be found
static int NO_TELLS
          No tells element was supplied
static int REASONER_CREATION
          An error occurred when trying to create a new reasoner
static int TELL_ERROR
          An error occurred within the tells.
static int UNKNOWN_REQUEST
          An unknown request has been made.
static int UNSPECIFIED_ERROR
          An unspecified error occurred.
static int UNSUPPORTED_ASK
          An unsupported ask operation has been requested
static int UNSUPPORTED_OPERATOR
          An unsupported constructor has been used
static int UNSUPPORTED_TELL
          An unsupported tell operation has been requested
 
Constructor Summary
ReasonerException(String message)
           
ReasonerException(String message, int code)
           
ReasonerException(String message, int code, String longMessage)
           
 
Method Summary
 int getCode()
           
 String getLongMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSUPPORTED_TELL

public static final int UNSUPPORTED_TELL
An unsupported tell operation has been requested

See Also:
Constant Field Values

UNSUPPORTED_ASK

public static final int UNSUPPORTED_ASK
An unsupported ask operation has been requested

See Also:
Constant Field Values

UNSUPPORTED_OPERATOR

public static final int UNSUPPORTED_OPERATOR
An unsupported constructor has been used

See Also:
Constant Field Values

NO_TELLS

public static final int NO_TELLS
No tells element was supplied

See Also:
Constant Field Values

NO_ASKS

public static final int NO_ASKS
No asks element was supplied

See Also:
Constant Field Values

TELL_ERROR

public static final int TELL_ERROR
An error occurred within the tells.

See Also:
Constant Field Values

ASK_ERROR

public static final int ASK_ERROR
An error occurred within the asks.

See Also:
Constant Field Values

UNKNOWN_REQUEST

public static final int UNKNOWN_REQUEST
An unknown request has been made.

See Also:
Constant Field Values

UNSPECIFIED_ERROR

public static final int UNSPECIFIED_ERROR
An unspecified error occurred.

See Also:
Constant Field Values

NO_FACTORY_CLASS

public static final int NO_FACTORY_CLASS
No factory class could be found

See Also:
Constant Field Values

REASONER_CREATION

public static final int REASONER_CREATION
An error occurred when trying to create a new reasoner

See Also:
Constant Field Values
Constructor Detail

ReasonerException

public ReasonerException(String message)

ReasonerException

public ReasonerException(String message,
                         int code)

ReasonerException

public ReasonerException(String message,
                         int code,
                         String longMessage)
Method Detail

getCode

public int getCode()

getLongMessage

public String getLongMessage()

DIG 1.1 Reasoners API, April 26, 2004 (12:45 PM)