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:
    java.io.Serializable

      public class SegmentationRuleException
      extends java.lang.RuntimeException

  Signals that a sever error related to segmentation has occurred.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SegmentationRuleException(java.lang.String text)` Creates a new SegmentationRuleException object with a given message.
    `SegmentationRuleException(java.lang.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`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SegmentationRuleException

          public SegmentationRuleException(java.lang.String text)

      Creates a new SegmentationRuleException object with a given message.
      Parameters:
        `text` - text of the message.

    - #### SegmentationRuleException

          public SegmentationRuleException(java.lang.Throwable e)

      Creates a new SegmentationRuleException object with a given parent exception.
      Parameters:
        `e` - the parent exception.