diff options
Diffstat (limited to 'base/common/src/com')
3 files changed, 7 insertions, 18 deletions
diff --git a/base/common/src/com/netscape/certsrv/base/EBaseException.java b/base/common/src/com/netscape/certsrv/base/EBaseException.java index 78d9a6d2d..8d8adb66a 100644 --- a/base/common/src/com/netscape/certsrv/base/EBaseException.java +++ b/base/common/src/com/netscape/certsrv/base/EBaseException.java @@ -77,7 +77,7 @@ public class EBaseException extends Exception { * @param msgFormat The resource key * @param cause The cause exception */ - public EBaseException(String msgFormat, Exception cause) { + public EBaseException(String msgFormat, Throwable cause) { super(msgFormat, cause); mParams = new Exception[1]; mParams[0] = cause; diff --git a/base/common/src/com/netscape/certsrv/profile/EProfileException.java b/base/common/src/com/netscape/certsrv/profile/EProfileException.java index 0363139cb..5ad254f74 100644 --- a/base/common/src/com/netscape/certsrv/profile/EProfileException.java +++ b/base/common/src/com/netscape/certsrv/profile/EProfileException.java @@ -44,4 +44,8 @@ public class EProfileException extends EBaseException { public EProfileException(String msg) { super(msg); } + + public EProfileException(String msg, Throwable cause) { + super(msg, cause); + } } diff --git a/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java b/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java index 3238fb2e6..b7071fe75 100644 --- a/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java +++ b/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java @@ -61,33 +61,18 @@ public interface IProfileSubsystem extends ISubsystem { * @param id profile id * @param classid implementation id * @param className class Name - * @param configFile configuration file * @exception EProfileException failed to create profile */ - public IProfile createProfile(String id, String classid, - String className, String configFile) + public IProfile createProfile(String id, String classid, String className) throws EProfileException; /** * Deletes profile. * * @param id profile id - * @param configFile configuration file * @exception EProfileException failed to delete profile */ - public void deleteProfile(String id, String configFile) - throws EProfileException; - - /** - * Creates a new profile configuration file. - * - * @param id profile id - * @param classId implementation id - * @param configPath location to create the configuration file - * @exception failed to create profile - */ - public void createProfileConfig(String id, String classId, - String configPath) throws EProfileException; + public void deleteProfile(String id) throws EProfileException; /** * Enables a profile. |