Package jadex.bdi.runtime
Class GoalFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jadex.bdi.runtime.BDIFailureException
jadex.bdi.runtime.GoalFailureException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GoalDroppedException
An exception that may be thrown by a plan to
indicate a subgoal failure.
Note: This exception will not be logged by the logger
as it occurs in plans (normal plain failure).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new goal failure exception.GoalFailureException
(String message) Create a new goal failure exception.GoalFailureException
(String message, Throwable cause) Create a new plan failure exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GoalFailureException
public GoalFailureException()Create a new goal failure exception. -
GoalFailureException
Create a new goal failure exception.- Parameters:
message
- The message.
-
GoalFailureException
Create a new plan failure exception.- Parameters:
message
- The message.cause
- The cause.
-
-
Method Details
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-