de.fu_berlin.ties
Class ParsingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.fu_berlin.ties.ProcessingException
              extended byde.fu_berlin.ties.ParsingException
All Implemented Interfaces:
Serializable

public class ParsingException
extends ProcessingException

Exception thrown when an input cannot be parsed, typically because it contains uncorrectable errors.

Version:
$Revision: 1.1 $, $Date: 2004/02/02 18:35:58 $, $Author: siefkes $
Author:
Christian Siefkes
See Also:
Serialized Form

Constructor Summary
ParsingException(String message)
          Constructs a new exception with the specified detail message.
ParsingException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
ParsingException(Throwable cause)
          Constructs a new exception with the specified cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ParsingException

public ParsingException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message

ParsingException

public ParsingException(Throwable cause)
Constructs a new exception with the specified cause. The detail message is set to (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)

ParsingException

public ParsingException(String message,
                        Throwable cause)
Constructs a new exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
message - the detail message
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)


Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.