org.ujac.print
Class DocumentHandlerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ujac.util.UjacException
org.ujac.print.DocumentHandlerException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AssertionException, TagAttributeException, TagInstantiationException
public class DocumentHandlerException
- extends UjacException
Name: DocumentHandlerException.java
Description: A class for document handler related exceptions.
- Author:
- lauerc
- See Also:
- Serialized Form
DocumentHandlerException
public DocumentHandlerException(Locator locator,
String msg)
- Constructs a DocumentHandlerException instance with no specific arguments.
- Parameters:
locator
- Holds the locator of the XML document, where the exception occured.msg
- The error message.
DocumentHandlerException
public DocumentHandlerException(Locator locator,
String msg,
Throwable cause)
- Constructs a DocumentHandlerException instance with no specific arguments.
- Parameters:
locator
- Holds the locator of the XML document, where the exception occured.msg
- The error message.cause
- The cause of the error.
getLocator
public Locator getLocator()
- Gets the document locator, where the exception happened.
- Returns:
- The document locator, where the exception happened.
printStackTrace
public void printStackTrace(PrintStream stream)
- Overrides:
printStackTrace
in class UjacException
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
printStackTrace
public void printStackTrace(PrintWriter writer)
- Overrides:
printStackTrace
in class UjacException
- See Also:
Throwable.printStackTrace(java.io.PrintWriter)
Copyright © 2003-2004 UJAC.org. All Rights Reserved.