Package com.itextpdf.text.exceptions
Class BadPasswordException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.itextpdf.text.exceptions.BadPasswordException
-
- All Implemented Interfaces:
Serializable
public class BadPasswordException extends IOException
Typed exception used when opening an existing PDF document. Gets thrown when the document isn't a valid PDF document.- Since:
- 2.1.5 It was written for iText 2.0.8, but moved to another package
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadPasswordException(String message)
Creates an exception saying the user password was incorrect.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadPasswordException
public BadPasswordException(String message)
Creates an exception saying the user password was incorrect.- Parameters:
message
- the message
-
-