Class PkiErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PkiErrorException
    extends java.lang.Exception
    Exception that wraps the PKIStatusInfo.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPkiFailureInfo()  
      int getStatus()  
      java.lang.String getStatusMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PkiErrorException

        public PkiErrorException​(org.bouncycastle.asn1.cmp.PKIStatusInfo statusInfo)
      • PkiErrorException

        public PkiErrorException​(PkiStatusInfo statusInfo)
      • PkiErrorException

        public PkiErrorException​(int status,
                                 int pkiFailureInfo,
                                 java.lang.String statusMessage)
    • Method Detail

      • getStatus

        public int getStatus()
      • getPkiFailureInfo

        public int getPkiFailureInfo()
      • getStatusMessage

        public java.lang.String getStatusMessage()