Commit b5ba0026908940d6f626b01bbd370ae3e3b5acfc

Authored by Cleverson Sacramneto
1 parent 1e6de13d
Exists in master

Criação de mais um construtor para a SecurityException

impl/core/src/main/java/br/gov/frameworkdemoiselle/security/SecurityException.java
... ... @@ -57,4 +57,14 @@ public class SecurityException extends DemoiselleException {
57 57 public SecurityException(String message) {
58 58 super(message);
59 59 }
  60 +
  61 + /**
  62 + * Constructor with the cause.
  63 + *
  64 + * @param cause
  65 + * exception cause
  66 + */
  67 + public SecurityException(Throwable cause) {
  68 + super(cause);
  69 + }
60 70 }
... ...