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:
- Serializable
- Direct Known Subclasses:
- DuplicateDefinitionException
- public class DTDSyntaxException
- extends DTDException
Exception denoting a syntax error in the input DTD.
- Author:
- Conrad Roche
- See Also:
- Serialized Form
DTDSyntaxException
public DTDSyntaxException()
- DTDSyntaxException constructor.
DTDSyntaxException
public DTDSyntaxException(String s)
- DTDSyntaxException constructor.
- Parameters:
s
- Description of the syntax error.
DTDSyntaxException
public DTDSyntaxException(String s,
CursorLocation loc)
- DTDSyntaxException Constructor.
- Parameters:
s
- Description of the syntax error.loc
- Location of the syntax error.
getErrorLocation
public CursorLocation getErrorLocation()
- Returns the location where the syntax
error was encountered.
- Returns:
- The location of the syntax error.