diff options
Diffstat (limited to 'base/common/src/com/netscape/certsrv/base/HTTPGoneException.java')
-rw-r--r-- | base/common/src/com/netscape/certsrv/base/HTTPGoneException.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/base/HTTPGoneException.java b/base/common/src/com/netscape/certsrv/base/HTTPGoneException.java new file mode 100644 index 000000000..7b8f0d371 --- /dev/null +++ b/base/common/src/com/netscape/certsrv/base/HTTPGoneException.java @@ -0,0 +1,20 @@ +package com.netscape.certsrv.base; + +import javax.ws.rs.core.Response; + +public class HTTPGoneException extends PKIException { + + private static final long serialVersionUID = 1256191208802745690L; + + public HTTPGoneException(String message) { + super(Response.Status.GONE, message); + } + + public HTTPGoneException(String message, Throwable cause) { + super(Response.Status.GONE, message, cause); + } + + public HTTPGoneException(Data data) { + super(data); + } +} |