|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jadex.runtime.BDIFailureException
jadex.runtime.GoalFailureException
public class GoalFailureException
An exception automatically thrown, when a subgoal of a plan fails. Note: This exception will not be logged by the logger as it occurs in plans (normal plain failure).
Constructor Summary | |
---|---|
GoalFailureException(IGoal goal,
String message)
Create a new goal failure exception. |
|
GoalFailureException(IGoal goal,
Throwable cause)
Create a new goal failure exception. |
Method Summary | |
---|---|
IGoal |
getGoal()
Get the goal that failed. |
String |
toString()
Create a string representation of the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GoalFailureException(IGoal goal, Throwable cause)
goal
- The failed goal.public GoalFailureException(IGoal goal, String message)
goal
- The failed goal.message
- The message.Method Detail |
---|
public IGoal getGoal()
public String toString()
toString
in class Throwable
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.