public class

SigningFailedException

extends PSPDFKitException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.pspdfkit.exceptions.PSPDFKitException
           ↳ com.pspdfkit.signatures.SigningFailedException

Class Overview

Thrown by Signer when signing of a document failed.

Summary

Public Constructors
SigningFailedException(String message)
SigningFailedException(Throwable reason)
SigningFailedException(SigningStatus reason, String diagnosticMessage)
Public Methods
String getDiagnosticMessage()
Returns the diagnostic message for the failed signing (if any).
SigningStatus getReason()
Returns the reason for the failed signing.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SigningFailedException (String message)

public SigningFailedException (Throwable reason)

public SigningFailedException (SigningStatus reason, String diagnosticMessage)

Public Methods

public String getDiagnosticMessage ()

Returns the diagnostic message for the failed signing (if any). This message is meant as a debugging aid for developers implementing their own signing solution. It is not suitable for display.

Returns
  • a technical reason explaining why signing failed in more detail.

public SigningStatus getReason ()

Returns the reason for the failed signing.

Returns
  • a SigningStatus enum explaining the reason for failed signature.