edu.stanford.smi.protegex.owl.model.classparser
Class OWLClassParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.stanford.smi.protegex.owl.model.classparser.OWLClassParseException
All Implemented Interfaces:
Serializable

public class OWLClassParseException
extends Exception

An Exception thrown by an OWLClassParser, providing additional information that can be used to guide user input.

Author:
Holger Knublauch
See Also:
Serialized Form

Field Summary
 String currentToken
           
 boolean nextCouldBeClass
           
 boolean nextCouldBeIndividual
           
 boolean nextCouldBeProperty
           
 RDFProperty recentHasValueProperty
           
private static OWLClassParseException recentInstance
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
OWLClassParseException(String message)
           
 
Method Summary
static OWLClassParseException getRecentInstance()
          Gets the most recently created exception of this type.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

currentToken

public String currentToken

nextCouldBeClass

public boolean nextCouldBeClass

nextCouldBeIndividual

public boolean nextCouldBeIndividual

nextCouldBeProperty

public boolean nextCouldBeProperty

recentHasValueProperty

public RDFProperty recentHasValueProperty

recentInstance

private static OWLClassParseException recentInstance
Constructor Detail

OWLClassParseException

public OWLClassParseException(String message)
Method Detail

getRecentInstance

public static OWLClassParseException getRecentInstance()
Gets the most recently created exception of this type. This can be used to guide input in text fields etc.

Returns:
the most recently created exception