Class AlgorithmException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlgorithmInitializationException, AlgorithmTerminationException

public class AlgorithmException extends FrameworkException
An exception that originated from an algorithm.
See Also:
  • Constructor Details

    • AlgorithmException

      public AlgorithmException(Algorithm algorithm, Throwable cause)
      Constructs an algorithm exception originating from the specified algorithm with the given cause.
      Parameters:
      algorithm - the algorithm responsible for this exception
      cause - the cause of this exception
    • AlgorithmException

      public AlgorithmException(Algorithm algorithm, String message)
      Constructs an algorithm exception originating from the specified algorithm with the given message.
      Parameters:
      algorithm - the algorithm responsible for this exception
      message - the message describing this exception
    • AlgorithmException

      public AlgorithmException(Algorithm algorithm, String message, Throwable cause)
      Constructs an algorithm exception originating from the specified algorithm with the given message and cause.
      Parameters:
      algorithm - the algorithm responsible for this exception
      message - the message describing this exception
      cause - the cause of this exception
  • Method Details

    • getAlgorithm

      public Algorithm getAlgorithm()
      Returns the algorithm responsible for this exception.
      Returns:
      the algorithm responsible for this exception