Package net.sf.okapi.lib.xliff2
Class XLIFFException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.okapi.lib.xliff2.XLIFFException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidMarkerOrderException,InvalidPositionException,XLIFFReaderException
public class XLIFFException extends RuntimeException
Base exception for all XLIFF-library exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XLIFFException(String text)Creates a new exception with a given text.XLIFFException(String message, Throwable cause)Creates a new exception with a given message and a given parent exception cause.XLIFFException(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
-
XLIFFException
public XLIFFException(String text)
Creates a new exception with a given text.- Parameters:
text- Text to go with the new exception.
-
XLIFFException
public XLIFFException(Throwable e)
Creates a new exception with a given parent exception.- Parameters:
e- The parent exception.
-
-