br.pucrio.inf.les.bdijade.exception
Class BeliefAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
br.pucrio.inf.les.bdijade.exception.BeliefAlreadyExistsException
- All Implemented Interfaces:
- java.io.Serializable
public class BeliefAlreadyExistsException
- extends java.lang.RuntimeException
This class represents an exception that a belief that already exists in the
belief base is trying to be added.
- Author:
- ingrid
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
belief
private Belief<?> belief
BeliefAlreadyExistsException
public BeliefAlreadyExistsException(Belief<?> belief)
- Creates a new instance of BeliefAlreadyExistsException.
- Parameters:
belief - the belief that already exists.
getBelief
public Belief<?> getBelief()
- Returns:
- the belief
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable
- See Also:
Throwable.toString()