iText 8.0.2 API
iText.Kernel.Exceptions.BadPasswordException Class Reference

Bad password exception. More...

Inheritance diagram for iText.Kernel.Exceptions.BadPasswordException:
iText.Kernel.Exceptions.PdfException iText.Commons.Exceptions.ITextException

Public Member Functions

  BadPasswordException (String message, Exception cause)
  Creates a new BadPasswordException. More...
 
  BadPasswordException (String message)
  Creates a new BadPasswordException. More...
 
- Public Member Functions inherited from iText.Kernel.Exceptions.PdfException
  PdfException (String message)
  Creates a new instance of PdfException. More...
 
  PdfException (Exception cause)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Object obj)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Exception cause)
  Creates a new instance of PdfException. More...
 
  PdfException (String message, Exception cause, Object obj)
  Creates a new instance of PdfException. More...
 
virtual iText.Kernel.Exceptions.PdfException  SetMessageParams (params Object[] messageParams)
  Sets additional params for Exception message. More...
 
- Public Member Functions inherited from iText.Commons.Exceptions.ITextException
  ITextException ()
  Creates a new ITextException with no error message and cause. More...
 
  ITextException (String message)
  Creates a new ITextException. More...
 
  ITextException (Exception cause)
  Creates a new ITextException. More...
 
  ITextException (String message, Exception cause)
  Creates a new ITextException. More...
 

Static Public Attributes

const String  PdfReaderNotOpenedWithOwnerPassword = "PdfReader is not opened with owner password"
 

Additional Inherited Members

- Properties inherited from iText.Kernel.Exceptions.PdfException
override String  Message [get]
 

Detailed Description

Bad password exception.

Constructor & Destructor Documentation

◆ BadPasswordException() [1/2]

iText.Kernel.Exceptions.BadPasswordException.BadPasswordException ( String  message,
Exception  cause 
)
inline

Creates a new BadPasswordException.

Parameters
message the detail message.
cause the cause (which is saved for later retrieval by System.Exception.InnerException() method).

◆ BadPasswordException() [2/2]

iText.Kernel.Exceptions.BadPasswordException.BadPasswordException ( String  message )
inline

Creates a new BadPasswordException.

Parameters
message the detail message.