Package org.apache.poi.ooxml
Class POIXMLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.poi.ooxml.POIXMLException
-
- All Implemented Interfaces:
Serializable
public final class POIXMLException extends RuntimeException
Indicates a generic OOXML error.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description POIXMLException()
Create a newPOIXMLException
with no detail mesage.POIXMLException(String msg)
Create a newPOIXMLException
with theString
specified as an error message.POIXMLException(String msg, Throwable cause)
Create a newPOIXMLException
with theString
specified as an error message and the cause.POIXMLException(Throwable cause)
Create a newPOIXMLException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
POIXMLException
public POIXMLException()
Create a newPOIXMLException
with no detail mesage.
-
POIXMLException
public POIXMLException(String msg)
Create a newPOIXMLException
with theString
specified as an error message.- Parameters:
msg
- The error message for the exception.
-
POIXMLException
public POIXMLException(String msg, Throwable cause)
Create a newPOIXMLException
with theString
specified as an error message and the cause.- Parameters:
msg
- The error message for the exception.cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
POIXMLException
public POIXMLException(Throwable cause)
Create a newPOIXMLException
with the specified cause.- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-