|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moeaframework.core.FrameworkException
public class FrameworkException
The framework exception is the parent type of all exceptions specific to the
MOEA Framework. Framework exceptions only cover exceptional cases caused by
the MOEA Framework itself; user exceptions are still covered by Java's
built-in exceptions (i.e., IllegalArgumentException) or those
defined in third-party libraries. Unhandled checked exceptions, such as
IOException, should be wrapped in an appropriate framework exception.
| Constructor Summary | |
|---|---|
FrameworkException()
Constructs 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 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrameworkException()
public FrameworkException(String message,
Throwable cause)
message - the message describing this exceptioncause - the cause of this exceptionpublic FrameworkException(String message)
message - the message describing this exceptionpublic FrameworkException(Throwable cause)
cause - the cause of this exception
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||