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

Constructor Summary
InvalidWylieException(String s, int i)
          Creates an InvalidWylieException.
 
Method Summary
 char getCulprit()
          Gets the character that caused the problem.
 String getCulpritInContext()
          Gets the character that caused the problem, in context.
 
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

InvalidWylieException

public InvalidWylieException(String s,
                             int i)
Creates an InvalidWylieException.

Parameters:
s - a string of Wylie text
i - the offset where problems for the process began
Method Detail

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 SourceForge_Logo