org.thdl.tib.text
Class InvalidWylieException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.thdl.tib.text.InvalidWylieException
- All Implemented Interfaces:
- Serializable
- public class InvalidWylieException
- extends Exception
Thrown whenever
a process runs into invalid Extended Wylie. This is usually thrown
while converting Wylie to
TibetanMachineWeb when the converter runs into invalid Wylie.
- Author:
- Edward Garrett, Tibetan and Himalayan Digital Library
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidWylieException
public InvalidWylieException(String s,
int i)
- Creates an InvalidWylieException.
- Parameters:
s
- a string of Wylie texti
- the offset where problems for the process began
getCulprit
public char getCulprit()
- Gets the character that caused the problem.
- Returns:
- the character believed to be the problem for the process
getCulpritInContext
public String getCulpritInContext()
- Gets the character that caused the problem, in context.
- Returns:
- the string of text including and following the character
believed to be the problem for the process
These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by