bdi4jade.exception

## Class BeliefAlreadyExistsException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - bdi4jade.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 Nunes
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BeliefAlreadyExistsException(Belief<?,?> belief)` Creates a new instance of BeliefAlreadyExistsException.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Belief<?,?>` | `getBelief()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BeliefAlreadyExistsException

          public BeliefAlreadyExistsException(Belief<?,?> belief)

      Creates a new instance of BeliefAlreadyExistsException.
      Parameters:
        `belief` - the belief that already exists.

  - ### Method Detail

    - #### getBelief

          public Belief<?,?> getBelief()

      Returns:
        the belief

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Throwable`
      See Also:
        `Throwable.toString()`