summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java')
-rw-r--r--base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java b/base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java
index 7a1c9ea62..c6a549b07 100644
--- a/base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java
+++ b/base/common/src/com/netscape/certsrv/profile/ProfileNotFoundException.java
@@ -17,11 +17,9 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.profile;
-import javax.ws.rs.core.Response;
+import com.netscape.certsrv.base.ResourceNotFoundException;
-import com.netscape.certsrv.base.PKIException;
-
-public class ProfileNotFoundException extends PKIException {
+public class ProfileNotFoundException extends ResourceNotFoundException {
private static final long serialVersionUID = -4784839378360933483L;
@@ -32,12 +30,12 @@ public class ProfileNotFoundException extends PKIException {
}
public ProfileNotFoundException(String profileId, String message) {
- super(Response.Status.NOT_FOUND, message);
+ super(message);
this.profileId = profileId;
}
public ProfileNotFoundException(String profileId, String message, Throwable cause) {
- super(Response.Status.NOT_FOUND, message, cause);
+ super(message, cause);
this.profileId = profileId;
}