Package org.moeaframework.core
Class FrameworkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moeaframework.core.FrameworkException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlgorithmException
,ConfigurationException
,DataStoreException
,GrammarException
,InvalidParameterException
,InvalidPropertyException
,NoSuchParameterException
,NoValidNodeException
,ProblemException
,ProviderException
,UnsatisfiedArgumentException
,VariableEncodingException
The framework exception is the parent type of all exceptions specific to the MOEA Framework. Whenever possible,
prefer using one of Java's built-in exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new framework exception with no message or cause.FrameworkException
(String message) Constructs a new framework exception with the specified message.FrameworkException
(String message, Throwable cause) Constructs a new framework exception with the specified message and cause.FrameworkException
(Throwable cause) Constructs a new framework exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FrameworkException
public FrameworkException()Constructs a new framework exception with no message or cause. -
FrameworkException
Constructs a new framework exception with the specified message and cause.- Parameters:
message
- the message describing this exceptioncause
- the cause of this exception
-
FrameworkException
Constructs a new framework exception with the specified message.- Parameters:
message
- the message describing this exception
-
FrameworkException
Constructs a new framework exception with the specified cause.- Parameters:
cause
- the cause of this exception
-