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 newPOIXMLExceptionwith no detail message.POIXMLException(String msg)Create a newPOIXMLExceptionwith theStringspecified as an error message.POIXMLException(String msg, Throwable cause)Create a newPOIXMLExceptionwith theStringspecified as an error message and the cause.POIXMLException(Throwable cause)Create a newPOIXMLExceptionwith 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 newPOIXMLExceptionwith no detail message.
-
POIXMLException
public POIXMLException(String msg)
Create a newPOIXMLExceptionwith theStringspecified as an error message.- Parameters:
msg- The error message for the exception.
-
POIXMLException
public POIXMLException(String msg, Throwable cause)
Create a newPOIXMLExceptionwith theStringspecified 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). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
POIXMLException
public POIXMLException(Throwable cause)
Create a newPOIXMLExceptionwith the specified cause.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-