Package 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:
Serializable
public class InvalidPositionException extends 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 Description InvalidPositionException(String text)
Creates a new exception with a given text.InvalidPositionException(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
-
InvalidPositionException
public InvalidPositionException(String text)
Creates a new exception with a given text.- Parameters:
text
- Text to go with the new exception.
-
InvalidPositionException
public InvalidPositionException(Throwable e)
Creates a new exception with a given parent exception.- Parameters:
e
- The parent exception.
-
-