diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java | 77 |
1 files changed, 35 insertions, 42 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java b/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java index e465517c7..273f561a7 100644 --- a/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java +++ b/pki/base/common/src/com/netscape/certsrv/selftests/ESelfTestException.java @@ -20,108 +20,101 @@ package com.netscape.certsrv.selftests; - /////////////////////// // import statements // /////////////////////// import com.netscape.certsrv.base.EBaseException; - ////////////////////// // class definition // ////////////////////// /** - * This class implements a self test exception. ESelfTestExceptions - * are derived from EBaseExceptions in order to allow users - * to easily do self tests without try-catch clauses. - * + * This class implements a self test exception. ESelfTestExceptions are derived + * from EBaseExceptions in order to allow users to easily do self tests without + * try-catch clauses. + * * ESelfTestExceptions should be caught by SelfTestSubsystem managers. * <P> * * @version $Revision$, $Date$ */ -public class ESelfTestException - extends EBaseException { - //////////////////////// +public class ESelfTestException extends EBaseException { + // ////////////////////// // default parameters // - //////////////////////// - - + // ////////////////////// - /////////////////////////////////// + // ///////////////////////////////// // ESelfTestException parameters // - /////////////////////////////////// + // ///////////////////////////////// /** * */ private static final long serialVersionUID = -8001373369705595891L; - private static final String SELFTEST_RESOURCES = SelfTestResources.class.getName(); + private static final String SELFTEST_RESOURCES = SelfTestResources.class + .getName(); - - /////////////////////////////////////////// + // ///////////////////////////////////////// // EBaseException parameters (inherited) // - /////////////////////////////////////////// + // ///////////////////////////////////////// - /* Note that all of the following EBaseException parameters - * are inherited from the EBaseException class: - * + /* + * Note that all of the following EBaseException parameters are inherited + * from the EBaseException class: + * * public Object mParams[]; */ - - - ///////////////////// + // /////////////////// // default methods // - ///////////////////// + // /////////////////// /** * Constructs a self test exception. * <P> - * + * * @param msg exception details */ public ESelfTestException(String msg) { super(msg); } - - //////////////////////////////// + // ////////////////////////////// // ESelfTestException methods // - //////////////////////////////// + // ////////////////////////////// /** * Returns the bundle file name. * <P> + * * @return name of bundle class associated with this exception. */ protected String getBundleName() { return SELFTEST_RESOURCES; } - - //////////////////////////////////////// + // ////////////////////////////////////// // EBaseException methods (inherited) // - //////////////////////////////////////// + // ////////////////////////////////////// - /* Note that all of the following EBaseException methods - * are inherited from the EBaseException class: - * + /* + * Note that all of the following EBaseException methods are inherited from + * the EBaseException class: + * * public EBaseException( String msgFormat ); - * + * * public EBaseException( String msgFormat, String param ); - * + * * public EBaseException( String msgFormat, Exception param ); - * + * * public EBaseException( String msgFormat, Object params[] ); - * + * * public Object[] getParameters(); - * + * * public String toString(); - * + * * public String toString( Locale locale ); */ } - |