mulan.core
Class WekaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by mulan.core.MulanRuntimeException
                  extended by 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

Constructor Summary
WekaException(String message)
          Creates a new instance of WekaException with detail mesage.
WekaException(String message, Throwable cause)
          Creates a new instance of WekaException with detail message and nested exception.
 
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

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 message
cause - the nested exception