Class CertificationPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.CertificationPathException
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.CertificationPolicyException
- All Implemented Interfaces:
Serializable
public class CertificationPolicyException extends CertificationPathException
Esta classe representa uma exceção causada por valor inválido
na política de certificação
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
UNKNOW_CERTIFICATION_POLICY
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.CertificationPathException
NO_SUCH_ALGORITHM
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE
-
Constructor Summary
Constructors Constructor Description CertificationPolicyException(IOException cause)
ConstrutorCertificationPolicyException(String message)
ConstrutorCertificationPolicyException(String message, StackTraceElement[] stackTrace)
Construtor -
Method Summary
Modifier and Type Method Description void
setCritical(boolean critical)
Atibue o valor de crítico ao erroMethods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOW_CERTIFICATION_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CertificationPolicyException
Construtor- Parameters:
message
- A mensagem de erro
-
CertificationPolicyException
Construtor- Parameters:
message
- A mensagem de errostackTrace
- O stack trace da exceção que ocorreu
-
CertificationPolicyException
Construtor- Parameters:
cause
- A exceção que ocorreu
-
-
Method Details
-
setCritical
public void setCritical(boolean critical)Atibue o valor de crítico ao erro- Overrides:
setCritical
in classPbadException
- Parameters:
critical
- O valor de crítico da exceção
-