Package net.sf.okapi.lib.xliff2
Class InvalidParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.okapi.lib.xliff2.InvalidParameterException
-
- All Implemented Interfaces:
Serializable
public class InvalidParameterException extends RuntimeException
Signals that a parameter of a method is invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidParameterException(String text)Creates a new exception with a given text.InvalidParameterException(String message, Throwable cause)Creates a new exception with a given message and a given parent exception cause.InvalidParameterException(Throwable e)Creates a new exception with a given parent exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidParameterException
public InvalidParameterException(String text)
Creates a new exception with a given text.- Parameters:
text- text to go with the new exception.
-
InvalidParameterException
public InvalidParameterException(Throwable e)
Creates a new exception with a given parent exception.- Parameters:
e- the parent exception.
-
-