org.apache.jackrabbit.spi.commons.nodetype.compact
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jackrabbit.spi.commons.nodetype.compact.ParseException
All Implemented Interfaces:
Serializable

public class ParseException
extends Exception

ParseException

See Also:
Serialized Form

Constructor Summary
ParseException(int lineNumber, int colNumber, String systemId)
          Constructs a new instance of this class with null as its detail message.
ParseException(String message, int lineNumber, int colNumber, String systemId)
          Constructs a new instance of this class with the specified detail message.
ParseException(String message, Throwable rootCause, int lineNumber, int colNumber, String systemId)
          Constructs a new instance of this class with the specified detail message and root cause.
ParseException(Throwable rootCause, int lineNumber, int colNumber, String systemId)
          Constructs a new instance of this class with the specified root cause.
 
Method Summary
 String getMessage()
          
 String toString()
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(int lineNumber,
                      int colNumber,
                      String systemId)
Constructs a new instance of this class with null as its detail message.


ParseException

public ParseException(String message,
                      int lineNumber,
                      int colNumber,
                      String systemId)
Constructs a new instance of this class with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.

ParseException

public ParseException(String message,
                      Throwable rootCause,
                      int lineNumber,
                      int colNumber,
                      String systemId)
Constructs a new instance of this class with the specified detail message and root cause.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
rootCause - root failure cause

ParseException

public ParseException(Throwable rootCause,
                      int lineNumber,
                      int colNumber,
                      String systemId)
Constructs a new instance of this class with the specified root cause.

Parameters:
rootCause - root failure cause
Method Detail

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable

toString

public String toString()

Overrides:
toString in class Throwable


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.