Package net.sf.okapi.lib.segmentation
Class SegmentationRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.okapi.lib.segmentation.SegmentationRuleException
-
- All Implemented Interfaces:
Serializable
public class SegmentationRuleException extends RuntimeException
Signals that a sever error related to segmentation has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SegmentationRuleException(String text)Creates a new SegmentationRuleException object with a given message.SegmentationRuleException(Throwable e)Creates a new SegmentationRuleException object 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
-
SegmentationRuleException
public SegmentationRuleException(String text)
Creates a new SegmentationRuleException object with a given message.- Parameters:
text- text of the message.
-
SegmentationRuleException
public SegmentationRuleException(Throwable e)
Creates a new SegmentationRuleException object with a given parent exception.- Parameters:
e- the parent exception.
-
-