| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.poi.hpsf.HPSFRuntimeException
public class HPSFRuntimeException
This exception is the superclass of all other unchecked exceptions thrown in this package. It supports a nested "reason" throwable, i.e. an exception that caused this one to be thrown.
| Constructor Summary | |
|---|---|
| HPSFRuntimeException()Creates a new HPSFRuntimeException. | |
| HPSFRuntimeException(java.lang.String msg)Creates a new HPSFRuntimeExceptionwith a message
 string. | |
| HPSFRuntimeException(java.lang.String msg,
                     java.lang.Throwable reason)Creates a new HPSFRuntimeExceptionwith a message
 string and a reason. | |
| HPSFRuntimeException(java.lang.Throwable reason)Creates a new HPSFRuntimeExceptionwith a
 reason. | |
| Method Summary | |
|---|---|
|  java.lang.Throwable | getReason()Returns the Throwablethat caused this exception to
 be thrown ornullif there was no suchThrowable. | 
|  void | printStackTrace() | 
|  void | printStackTrace(java.io.PrintStream p) | 
|  void | printStackTrace(java.io.PrintWriter p) | 
| Methods inherited from class java.lang.Throwable | 
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public HPSFRuntimeException()
Creates a new HPSFRuntimeException.
public HPSFRuntimeException(java.lang.String msg)
Creates a new HPSFRuntimeException with a message
 string.
msg - The message string.public HPSFRuntimeException(java.lang.Throwable reason)
Creates a new HPSFRuntimeException with a
 reason.
reason - The reason, i.e. a throwable that indirectly
 caused this exception.
public HPSFRuntimeException(java.lang.String msg,
                            java.lang.Throwable reason)
Creates a new HPSFRuntimeException with a message
 string and a reason.
msg - The message string.reason - The reason, i.e. a throwable that indirectly
 caused this exception.| Method Detail | 
|---|
public java.lang.Throwable getReason()
Returns the Throwable that caused this exception to
 be thrown or null if there was no such Throwable.
public void printStackTrace()
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace()public void printStackTrace(java.io.PrintStream p)
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace(java.io.PrintStream)public void printStackTrace(java.io.PrintWriter p)
printStackTrace in class java.lang.ThrowableThrowable.printStackTrace(java.io.PrintWriter)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||