public class AdESException extends java.lang.Exception implements IAdESException
ecAlgorithmMismatch, ecArchiveTimestampV3WrongImprint, ecATSHashIndexCreatingFailure, ecBuilderPKIXInvalidChain, ecBuilderRootIsAbsent, ecBuilderRootIsUntrusted, ecCAdESACreatingFailure, ecCAdESADateMismatch, ecCAdESAEnhancingFailure, ecCAdESANoIdenticDigAlgFailure, ecCAdESAVerifingFailure, ecCertificateChainIsNull, ecCertificateExpiredOrNotYetValid, ecClosingInputDataContextFailed, ecClosingOutputContextFailed, ecClosingSignatureFailed, ecFinderCertificateIsNull, ecFinderListIsNull, ecFinderWrongCertRef, ecFinderWrongCrlRef, ecFinderWrongOcspRef, ecGetMessageDigestFailure, ecInternal, ecInvalidATSHashIndex, ecKeyMismatch, ecNodeDecodingFailed, ecNodeEncodingFailed, ecNodeInvalidContent, ecNodeNotFound, ecNormalizingFailed, ecOnlineCallFailed, ecOpeningOutputContextFailed, ecParserIsNull, ecParserSigningCertificateConflict, ecParserSigningCertificateIsNull, ecParserWrongCertRef, ecParserWrongCrlRef, ecParserWrongOcspRef, ecReplacingSignatureCertificatesAndCRLsFailed, ecReplacingSignatureSignersFailed, ecRevocationCertificateStatusIsRevoked, ecRevocationCertificateStatusIsUnknown, ecRevocationCertificateStatusIsUnknownOrRevoked, ecRevocationCRLNotSuitable, ecRevocationCRLWrongNextUpdate, ecRevocationCRLWrongThisUpdate, ecRevocationInvalidCRL, ecRevocationInvalidOCSP, ecRevocationIsNull, ecRevocationWrongCertificateConstraints, ecRevocationWrongCertRef, ecRevocationWrongOcspResponsePeriod, ecSignatureFailed, ecSignatureGeneratorUndefined, ecSignatureInputStreamUndefined, ecSignatureInvalid, ecSignatureMarshallingFailed, ecSignatureOutputStreamUndefined, ecSignaturePrivateKeyUsagePeriodExpiredOrNotYetValid, ecSignatureSignedDataIsNull, ecSignatureSignerIsNull, ecSignatureUnsupported, ecSignatureWrongAttributeCount, ecSignerCertificateIsNull, ecSignerWrongCountersignature, ecSuccess, ecTimestampInvalid, ecTimestampNotFound, ecTimestampWrongImprint, ecUnexpectedTimestampCount, ecUnknown, ecWrongCertificateChain, ecWrongKeyUsage
Constructor and Description |
---|
AdESException(java.lang.Exception e,
java.lang.Integer errorCode)
Конструктор.
|
AdESException(java.lang.Integer errorCode)
Конструктор.
|
AdESException(java.lang.String msg,
java.lang.Exception e,
java.lang.Integer errorCode)
Конструктор.
|
AdESException(java.lang.String msg,
java.lang.Integer... errorCodes)
Конструктор.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getErrorCode()
Получение кода ошибки.
|
java.util.Vector<java.lang.Integer> |
getErrorCodeList()
Получение списка кодов ошибок.
|
static java.lang.String |
getErrorCodeName(java.lang.Integer errorCode)
Получение описания кода ошибки.
|
java.lang.String |
getMessage() |
java.lang.String |
toString()
Вывод содержимого исключения.
|
public AdESException(java.lang.String msg, java.lang.Integer... errorCodes)
msg
- Сообщение исключения.errorCodes
- Список кодов ошибок.public AdESException(java.lang.Integer errorCode)
errorCode
- Код ошибки.public AdESException(java.lang.Exception e, java.lang.Integer errorCode)
e
- Исключение.errorCode
- Код ошибки.public AdESException(java.lang.String msg, java.lang.Exception e, java.lang.Integer errorCode)
msg
- Сообщение исключения.e
- Исключение.errorCode
- Код ошибки.public java.lang.Integer getErrorCode()
IAdESException
getErrorCode
in interface IAdESException
public java.util.Vector<java.lang.Integer> getErrorCodeList()
IAdESException
getErrorCodeList
in interface IAdESException
public static java.lang.String getErrorCodeName(java.lang.Integer errorCode)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable