Package org.projog.core
Class ProjogException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.projog.core.ProjogException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ParserException
public class ProjogException extends java.lang.RuntimeExceptionAn exception that provides information on an error within the Projog environment.Maintains a collection of all
InterpretedUserDefinedPredicateinstances that form the exception's stack trace.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate java.util.List<ClauseModel>stackTrace
-
Constructor Summary
Constructors Constructor Description ProjogException(java.lang.String message)ProjogException(java.lang.String message, java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClause(ClauseModel clause)java.util.List<ClauseModel>getClauses()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
stackTrace
private final java.util.List<ClauseModel> stackTrace
-
-
Method Detail
-
addClause
public void addClause(ClauseModel clause)
-
getClauses
public java.util.List<ClauseModel> getClauses()
-
-