net.sf.okapi.common.resource
Class InvalidPositionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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.