Commit b5ba0026908940d6f626b01bbd370ae3e3b5acfc
1 parent
1e6de13d
Exists in
master
Criação de mais um construtor para a SecurityException
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/security/SecurityException.java
| @@ -57,4 +57,14 @@ public class SecurityException extends DemoiselleException { | @@ -57,4 +57,14 @@ public class SecurityException extends DemoiselleException { | ||
| 57 | public SecurityException(String message) { | 57 | public SecurityException(String message) { |
| 58 | super(message); | 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 | } |