org.ceryle.xml
Class XMLParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ceryle.util.ProcessException
              extended by org.ceryle.xml.XMLParseException
All Implemented Interfaces:
Serializable

public class XMLParseException
extends ProcessException

A class that extends ProcessException for errors that occur during XML parsing, i.e., the actual processing of syntax (not e.g., DOM elements).

Since:
JDK1.3
Version:
$Id: XMLParseException.java,v 3.4 2007-06-15 12:10:29 altheim Exp $
Author:
Murray Altheim
See Also:
ProcessException, Serialized Form

Field Summary
 
Fields inherited from class org.ceryle.util.ProcessException
exception, isMessageId, line, messageId, param1, param2, param3
 
Constructor Summary
XMLParseException(Exception exception)
          Constructor for XMLParseException tunnelling the original Exception.
XMLParseException(int line, String messageId)
          Constructor for XMLParseException including location information.
XMLParseException(int line, String messageId, String param1)
          Constructor for XMLParseException with a message ID and one parameter, including location information.
XMLParseException(int line, String messageId, String param1, String param2)
          Constructor for XMLParseException with a message ID and two parameters, including location information.
XMLParseException(String messageId)
          Constructor for XMLParseException.
XMLParseException(String messageId, Exception exception)
          Constructor for XMLParseException provided a message identifier, tunnelling the original Exception.
XMLParseException(String messageId, String param1)
          Constructor for XMLParseException with a message ID and one parameter.
XMLParseException(String messageId, String param1, String param2)
          Constructor for XMLParseException with a message ID and two parameters.
XMLParseException(String messageId, String param1, String param2, String param3)
          Constructor for XMLParseException with a message ID and three parameters.
 
Method Summary
 
Methods inherited from class org.ceryle.util.ProcessException
getException, getLine, getMessage, getMessageId
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

XMLParseException

public XMLParseException(String messageId)
Constructor for XMLParseException.

Parameters:
messageId - The unique message identifier.
See Also:
MsgId

XMLParseException

public XMLParseException(Exception exception)
Constructor for XMLParseException tunnelling the original Exception.

Parameters:
exception - The original Exception.

XMLParseException

public XMLParseException(String messageId,
                         Exception exception)
Constructor for XMLParseException provided a message identifier, tunnelling the original Exception.

Parameters:
messageId - The unique message identifier.
exception - The original Exception.
See Also:
MsgId

XMLParseException

public XMLParseException(String messageId,
                         String param1)
Constructor for XMLParseException with a message ID and one parameter.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
See Also:
MsgId

XMLParseException

public XMLParseException(String messageId,
                         String param1,
                         String param2)
Constructor for XMLParseException with a message ID and two parameters.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
See Also:
MsgId

XMLParseException

public XMLParseException(String messageId,
                         String param1,
                         String param2,
                         String param3)
Constructor for XMLParseException with a message ID and three parameters.

Parameters:
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
param3 - A parameter string to be inserted at %3.
See Also:
MsgId

XMLParseException

public XMLParseException(int line,
                         String messageId)
Constructor for XMLParseException including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
See Also:
MsgId

XMLParseException

public XMLParseException(int line,
                         String messageId,
                         String param1)
Constructor for XMLParseException with a message ID and one parameter, including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
See Also:
MsgId

XMLParseException

public XMLParseException(int line,
                         String messageId,
                         String param1,
                         String param2)
Constructor for XMLParseException with a message ID and two parameters, including location information.

Parameters:
line - The line on which the error seems to have occurred.
messageId - The unique message identifier.
param1 - A parameter string to be inserted at %1.
param2 - A parameter string to be inserted at %2.
See Also:
MsgId


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.