-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f810c9
commit 9aef423
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
mdx-web/src/main/java/com/mx/path/model/mdx/web/NotAuthenticatedException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.mx.path.model.mdx.web; | ||
|
||
import com.mx.path.core.common.accessor.UnauthorizedException; | ||
|
||
public class NotAuthenticatedException extends UnauthorizedException { | ||
public NotAuthenticatedException() { | ||
super("Not Authenticated", "Not Authenticated"); | ||
} | ||
|
||
public NotAuthenticatedException(String message, String userMessage) { | ||
super(message, userMessage); | ||
} | ||
|
||
public NotAuthenticatedException(String message, String userMessage, Throwable cause) { | ||
super(message, userMessage, cause); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
mdx-web/src/main/java/com/mx/path/model/mdx/web/SessionNotFoundException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.mx.path.model.mdx.web; | ||
|
||
import com.mx.path.core.common.accessor.UnauthorizedException; | ||
|
||
public class SessionNotFoundException extends UnauthorizedException { | ||
public SessionNotFoundException() { | ||
super("Session not found", "Session not found"); | ||
} | ||
|
||
public SessionNotFoundException(String message, String userMessage) { | ||
super(message, userMessage); | ||
} | ||
|
||
public SessionNotFoundException(String message, String userMessage, Throwable cause) { | ||
super(message, userMessage, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters