public class AlgorithmException extends FrameworkException
Constructor and Description |
---|
AlgorithmException(Algorithm algorithm)
Constructs an algorithm exception originating from the specified
algorithm.
|
AlgorithmException(Algorithm algorithm,
java.lang.String message)
Constructs an algorithm exception originating from the specified
algorithm with the given message.
|
AlgorithmException(Algorithm algorithm,
java.lang.String message,
java.lang.Throwable cause)
Constructs an algorithm exception originating from the specified
algorithm with the given message and cause.
|
AlgorithmException(Algorithm algorithm,
java.lang.Throwable cause)
Constructs an algorithm exception originating from the specified
algorithm with the given cause.
|
Modifier and Type | Method and Description |
---|---|
Algorithm |
getAlgorithm()
Returns the algorithm responsible for this exception.
|
public AlgorithmException(Algorithm algorithm)
algorithm
- the algorithm responsible for this exceptionpublic AlgorithmException(Algorithm algorithm, java.lang.Throwable cause)
algorithm
- the algorithm responsible for this exceptioncause
- the cause of this exceptionpublic AlgorithmException(Algorithm algorithm, java.lang.String message)
algorithm
- the algorithm responsible for this exceptionmessage
- the message describing this exceptionpublic AlgorithmException(Algorithm algorithm, java.lang.String message, java.lang.Throwable cause)
algorithm
- the algorithm responsible for this exceptionmessage
- the message describing this exceptioncause
- the cause of this exceptionpublic Algorithm getAlgorithm()
Copyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.