com.conradroche.matra.exception
Class DTDSyntaxException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.conradroche.matra.exception.DTDException
                    |
                    +--com.conradroche.matra.exception.DTDSyntaxException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateDefinitionException

public class DTDSyntaxException
extends DTDException

Author:
Conrad Roche Exception denoting a syntax error in the input DTD.
See Also:
Serialized Form

Constructor Summary
DTDSyntaxException()
          DTDSyntaxException constructor.
DTDSyntaxException(java.lang.String s)
          DTDSyntaxException constructor.
DTDSyntaxException(java.lang.String s, CursorLocation loc)
          DTDSyntaxException Constructor.
 
Method Summary
 CursorLocation getErrorLocation()
          Returns the location where the syntax error was encountered.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTDSyntaxException

public DTDSyntaxException()
DTDSyntaxException constructor.

DTDSyntaxException

public DTDSyntaxException(java.lang.String s)
DTDSyntaxException constructor.
Parameters:
s - Description of the syntax error.

DTDSyntaxException

public DTDSyntaxException(java.lang.String s,
                          CursorLocation loc)
DTDSyntaxException Constructor.
Parameters:
s - Description of the syntax error.
loc - Location of the syntax error.
Method Detail

getErrorLocation

public CursorLocation getErrorLocation()
Returns the location where the syntax error was encountered.
Returns:
The location of the syntax error.