FileDocCategorySizeDatePackage
HPSFException.javaAPI DocApache Poi 3.0.12861Mon Jan 01 12:39:34 GMT 2007org.apache.poi.hpsf

HPSFException

public class HPSFException extends Exception

This exception is the superclass of all other checked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.

author
Rainer Klute <klute@rainer-klute.de>
version
$Id: HPSFException.java 489730 2006-12-22 19:18:16Z bayard $
since
2002-02-09

Fields Summary
private Throwable
reason

The underlying reason for this exception - may be null.

Constructors Summary
public HPSFException()

Creates an {@link HPSFException}.

        super();
    
public HPSFException(String msg)

Creates an {@link HPSFException} with a message string.

param
msg The message string.

        super(msg);
    
public HPSFException(Throwable reason)

Creates a new {@link HPSFException} with a reason.

param
reason The reason, i.e. a throwable that indirectly caused this exception.

        super();
        this.reason = reason;
    
public HPSFException(String msg, Throwable reason)

Creates an {@link HPSFException} with a message string and a reason.

param
msg The message string.
param
reason The reason, i.e. a throwable that indirectly caused this exception.

        super(msg);
        this.reason = reason;
    
Methods Summary
public java.lang.ThrowablegetReason()

Returns the {@link Throwable} that caused this exception to be thrown or null if there was no such {@link Throwable}.

return
The reason

        return reason;