mulan.core
Class WekaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
mulan.core.MulanRuntimeException
mulan.core.WekaException
- All Implemented Interfaces:
- Serializable
public class WekaException
- extends MulanRuntimeException
The convenience exception, which can be used to wrap up checked general Exception
commonly thrown by underlying Weka library into anonymous runtime exception.
Note: The preferred way of handling Weka exceptional states is to define custom typed
exception thrown by Mulan, which specifies a context about failure reason.
- Author:
- Jozef Vilcek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WekaException
public WekaException(String message)
- Creates a new instance of
WekaException
with detail mesage.
- Parameters:
message
- the detail message
WekaException
public WekaException(String message,
Throwable cause)
- Creates a new instance of
WekaException
with detail message
and nested exception.
- Parameters:
message
- the detail messagecause
- the nested exception