Package weka.core
Class WekaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- weka.core.WekaException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoSupportForMissingValuesException,UnsupportedAttributeTypeException,UnsupportedClassTypeException
public class WekaException extends Exception
Class for Weka-specific exceptions.- Version:
- $Revision$
- Author:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WekaException()Creates a new WekaException with no message.WekaException(String message)Creates a new WekaException.WekaException(String message, Throwable cause)Constructor with message and causeWekaException(Throwable cause)Constructor with cause argument
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WekaException
public WekaException()
Creates a new WekaException with no message.
-
WekaException
public WekaException(String message)
Creates a new WekaException.- Parameters:
message- the reason for raising an exception.
-
WekaException
public WekaException(String message, Throwable cause)
Constructor with message and cause- Parameters:
message- the message for the exceptioncause- the root cause Throwable
-
WekaException
public WekaException(Throwable cause)
Constructor with cause argument- Parameters:
cause- the root cause Throwable
-
-