Package org.xipki.cmp.client
Class PkiErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xipki.cmp.client.PkiErrorException
-
- All Implemented Interfaces:
Serializable
public class PkiErrorException extends Exception
Exception that wraps the PKIStatusInfo.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PkiErrorException(int status, int pkiFailureInfo, String statusMessage)PkiErrorException(org.bouncycastle.asn1.cmp.PKIStatusInfo statusInfo)PkiErrorException(org.xipki.cmp.PkiStatusInfo statusInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPkiFailureInfo()intgetStatus()StringgetStatusMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PkiErrorException
public PkiErrorException(org.bouncycastle.asn1.cmp.PKIStatusInfo statusInfo)
-
PkiErrorException
public PkiErrorException(org.xipki.cmp.PkiStatusInfo statusInfo)
-
PkiErrorException
public PkiErrorException(int status, int pkiFailureInfo, String statusMessage)
-
-
Method Detail
-
getStatus
public int getStatus()
-
getPkiFailureInfo
public int getPkiFailureInfo()
-
getStatusMessage
public String getStatusMessage()
-
-