com.powerml
Class InvalidFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.powerml.InvalidFormatException
All Implemented Interfaces:
java.io.Serializable

public class InvalidFormatException
extends java.lang.Exception

This exception is thrown if the PresentationParser encounters an error while parsing a file. It contains the Throwable instance which caused this exception to be thrown, actually being a wrapper for the error cause.

See Also:
Serialized Form

Constructor Summary
InvalidFormatException(java.lang.String message)
          Creates a new InvalidFormatException instance with the specified detail message.
InvalidFormatException(java.lang.String message, java.lang.Throwable cause)
          Creates a new InvalidFormatException instance with the specified detail message and cause.
InvalidFormatException(java.lang.Throwable cause)
          Creates a new InvalidFormatException instance 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidFormatException

public InvalidFormatException(java.lang.String message)
Creates a new InvalidFormatException instance with the specified detail message.

Parameters:
message - detail message of the exception

InvalidFormatException

public InvalidFormatException(java.lang.String message,
                              java.lang.Throwable cause)
Creates a new InvalidFormatException instance with the specified detail message and cause.

Parameters:
message - the exception's detail message
cause - the exception's cause

InvalidFormatException

public InvalidFormatException(java.lang.Throwable cause)
Creates a new InvalidFormatException instance with the specified cause.

Parameters:
cause - the exception's cause


© 2004-2005 Ralf Terdic. All rights reserved.
www.powerml.com