Class VerificationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.signing.ssh.VerificationException
All Implemented Interfaces:
Serializable

public class VerificationException extends Exception
Since:
7.1
See Also:
  • Constructor Details

    • VerificationException

      public VerificationException(boolean expired, String reason)
      Creates a new instance.
      Parameters:
      expired - whether the checked public key or certificate was expired
      reason - describing the check failure
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • isExpired

      public boolean isExpired()
      Tells whether the check failed because the public key was expired.
      Returns:
      true if the check failed because the public key was expired, false otherwise
    • getReason

      public String getReason()
      Retrieves the check failure reason.
      Returns:
      the reason description