diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/logging/ELogException.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/logging/ELogException.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java b/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java index 90a74ba4a..ed36ea5fc 100644 --- a/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java +++ b/pki/base/common/src/com/netscape/certsrv/logging/ELogException.java @@ -17,16 +17,14 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.certsrv.logging; - import java.util.Locale; import com.netscape.certsrv.base.EBaseException; import com.netscape.certsrv.base.MessageFormatter; - /** - * This class implements a Log exception. LogExceptions - * should be caught by LogSubsystem managers. + * This class implements a Log exception. LogExceptions should be caught by + * LogSubsystem managers. * <P> * * @version $Revision$, $Date$ @@ -39,14 +37,14 @@ public class ELogException extends EBaseException { */ private static final long serialVersionUID = -8903703675126348145L; /** - * Resource bundle class name. - */ + * Resource bundle class name. + */ private static final String LOG_RESOURCES = LogResources.class.getName(); /** * Constructs a log exception. * <P> - * + * * @param msgFormat Exception details. */ public ELogException(String msgFormat) { @@ -56,11 +54,12 @@ public class ELogException extends EBaseException { /** * Constructs a log exception with a parameter. For example, + * * <PRE> - * new ELogException("failed to load {0}", fileName); + * new ELogException("failed to load {0}", fileName); * </PRE> * <P> - * + * * @param msgFormat Exception details in message string format. * @param param Message string parameter. */ @@ -71,9 +70,9 @@ public class ELogException extends EBaseException { } /** - * Constructs a log exception. It can be used to carry - * a system exception that may contain information about - * the context. For example, + * Constructs a log exception. It can be used to carry a system exception + * that may contain information about the context. For example, + * * <PRE> * try { * ... @@ -82,7 +81,7 @@ public class ELogException extends EBaseException { * } * </PRE> * <P> - * + * * @param msgFormat Exception details in message string format. * @param param System exception. */ @@ -93,10 +92,10 @@ public class ELogException extends EBaseException { } /** - * Constructs a log exception with a list of parameters - * that will be substituted into the message format. + * Constructs a log exception with a list of parameters that will be + * substituted into the message format. * <P> - * + * * @param msgFormat Exception details in message string format. * @param params List of message format parameters. */ @@ -108,7 +107,7 @@ public class ELogException extends EBaseException { /** * Returns a list of parameters. * <P> - * + * * @return list of message format parameters. */ public Object[] getParameters() { @@ -116,10 +115,10 @@ public class ELogException extends EBaseException { } /** - * Returns localized exception string. This method should - * only be called if a localized string is necessary. + * Returns localized exception string. This method should only be called if + * a localized string is necessary. * <P> - * + * * @return Details message. */ public String toString() { @@ -129,7 +128,7 @@ public class ELogException extends EBaseException { /** * Returns the string based on the given locale. * <P> - * + * * @param locale Locale. * @return Details message. */ @@ -139,13 +138,14 @@ public class ELogException extends EBaseException { } /** - * Retrieves resource bundle name. - * Subclasses should override this as necessary + * Retrieves resource bundle name. Subclasses should override this as + * necessary + * * @return String containing name of resource bundle. */ protected String getBundleName() { return LOG_RESOURCES; } - + } |