net.sf.okapi.common.resource

## Class InvalidPositionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - net.sf.okapi.common.resource.InvalidPositionException

- All Implemented Interfaces:
    java.io.Serializable

      public class InvalidPositionException
      extends java.lang.RuntimeException

  Indicates that an action was using the second specil character of an inline code marker as a normal character. For example the start position of an insert command was pointing to the second character of the inline code marker.
  See Also:
    Serialized Form

- - ### Constructor Summary

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

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

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

- - ### Constructor Detail

    - #### InvalidPositionException

          public InvalidPositionException(java.lang.String text)

      Creates a new exception with a given text.
      Parameters:
        `text` - Text to go with the new exception.

    - #### InvalidPositionException

          public InvalidPositionException(java.lang.Throwable e)

      Creates a new exception with a given parent exception.
      Parameters:
        `e` - The parent exception.