|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.deltaxml.odf.OdfException
com.deltaxml.odf.StylesheetLoadException
public class StylesheetLoadException
Indicates that there was a problem loading a required stylesheet.
This could be caused if the stylesheet could not be found, or if Saxon
could not be located on the classpath. If the stylesheet could not
be found, check which ClassLoader you are using as this
can affect the way that system resources are located.
| Constructor Summary | |
|---|---|
StylesheetLoadException(String stylesheetPath)
Constructs a new StylesheetLoadException with a default message. |
|
StylesheetLoadException(String message,
String stylesheetPath)
Constructs a new StylesheetLoadException with a configurable message |
|
StylesheetLoadException(String message,
String stylesheetPath,
Throwable cause)
Constructs a new StylesheetLoadException with a configurable message and an underlying cause |
|
StylesheetLoadException(String stylesheetPath,
Throwable cause)
Constructs a new StylesheetLoadException with a default message and an underlying cause |
|
| Method Summary | |
|---|---|
String |
getStylesheetPath()
Reports the expected location of the stylesheet |
| 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 |
|---|
public StylesheetLoadException(String stylesheetPath)
stylesheetPath - the expected location of the stylesheet
public StylesheetLoadException(String message,
String stylesheetPath)
message - the exeption messagestylesheetPath - the expected location of the stylesheet
public StylesheetLoadException(String message,
String stylesheetPath,
Throwable cause)
message - the exception messagestylesheetPath - the expected location of the stylesheetcause - the underlying cause of the exception
public StylesheetLoadException(String stylesheetPath,
Throwable cause)
stylesheetPath - the expected location of the stylesheetcause - the underlying cause of the exception| Method Detail |
|---|
public String getStylesheetPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||