dashboard
repositories
activity
search
login
common
/
securis
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
#2021 fix - Added "ping" command
rsanchez
2014-09-29
ecda08d86931f4134e31138649aa487d345a0b18
[common/securis.git]
/
securis
/
src
/
main
/
java
/
net
/
curisit
/
securis
/
services
/
exception
/
SeCurisServiceException.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package net.curisit.securis.services.exception;
import net.curisit.integrity.exception.CurisException;
public class SeCurisServiceException extends CurisException {
private int status = 0;
public SeCurisServiceException(int status, String msg) {
super(msg);
this.status = status;
}
public int getStatus() {
return status;
}
/**
*
*/
private static final long serialVersionUID = 1L;
public static class ErrorCodes {
public static int UNEXPECTED_ERROR = 1000;
public static int INVALID_CREDENTIALS = 1001;
public static int UNAUTHORIZED_ACCESS = 1002;
public static int INVALID_LICENSE_REQUEST_DATA = 1100;
public static int LICENSE_NOT_READY_FOR_RENEW = 1101;
}
}