Commit 0107cced2e31c2d133c1720b13cff401a6424fa7
1 parent
7ce177ac
Exists in
master
UnauthorizedException criada.
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
impl/extension/rest/src/main/java/br/gov/frameworkdemoiselle/UnauthorizedException.java
0 → 100644
| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | +package br.gov.frameworkdemoiselle; | |
| 2 | + | |
| 3 | +import static javax.servlet.http.HttpServletResponse.SC_UNAUTHORIZED; | |
| 4 | + | |
| 5 | +public class UnauthorizedException extends HttpViolationException { | |
| 6 | + | |
| 7 | + private static final long serialVersionUID = 1L; | |
| 8 | + | |
| 9 | + public UnauthorizedException() { | |
| 10 | + super(SC_UNAUTHORIZED); | |
| 11 | + } | |
| 12 | + | |
| 13 | +} | ... | ... |