Package net.sf.okapi.common.exceptions
Class OkapiBadFilterParametersException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.okapi.common.exceptions.OkapiException
-
- net.sf.okapi.common.exceptions.OkapiBadFilterParametersException
-
- All Implemented Interfaces:
Serializable
public class OkapiBadFilterParametersException extends OkapiException
Signals that filter parameters are either null or not an instance of the expected class. This is likely a wrong value passed with setParameters(). The exception is thrown when an input is open.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OkapiBadFilterParametersException()
Creates an empty new OkapiBadFilterParametersException object.OkapiBadFilterParametersException(String message)
Creates a new OkapiBadFilterParametersException object with a given message.OkapiBadFilterParametersException(String message, Throwable cause)
Creates a new OkapiBadFilterParametersException object with a given message and a given parent exception cause.OkapiBadFilterParametersException(Throwable cause)
Creates a new OkapiBadFilterParametersException object with a given parent exception cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OkapiBadFilterParametersException
public OkapiBadFilterParametersException()
Creates an empty new OkapiBadFilterParametersException object.
-
OkapiBadFilterParametersException
public OkapiBadFilterParametersException(String message)
Creates a new OkapiBadFilterParametersException object with a given message.- Parameters:
message
- text of the message.
-
OkapiBadFilterParametersException
public OkapiBadFilterParametersException(Throwable cause)
Creates a new OkapiBadFilterParametersException object with a given parent exception cause.- Parameters:
cause
- the parent exception cause.
-
-