summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java38
1 files changed, 18 insertions, 20 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java b/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java
index 96a9b7b9..e79bd724 100644
--- a/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java
+++ b/pki/base/common/src/com/netscape/certsrv/acls/EACLsException.java
@@ -17,18 +17,21 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.acls;
+
import java.util.Locale;
import com.netscape.certsrv.base.EBaseException;
import com.netscape.certsrv.base.MessageFormatter;
+
/**
- * A class represents an acls exception. Note that this is an Runtime exception
- * so that methods used AccessManager do not have to explicity declare this
- * exception. This allows AccessManager to be easily integrated into any
+ * A class represents an acls exception. Note that this is
+ * an Runtime exception so that methods used AccessManager
+ * do not have to explicity declare this exception. This
+ * allows AccessManager to be easily integrated into any
* existing code.
* <P>
- *
+ *
* @version $Revision$, $Date$
*/
public class EACLsException extends EBaseException {
@@ -41,11 +44,10 @@ public class EACLsException extends EBaseException {
* resource class name
*/
private static final String ACL_RESOURCES = ACLsResources.class.getName();
-
+
/**
* Constructs an acls exception.
* <P>
- *
* @param msgFormat exception details
*/
public EACLsException(String msgFormat) {
@@ -55,12 +57,11 @@ public class EACLsException extends EBaseException {
/**
* Constructs a base exception with a parameter. For example,
- *
* <PRE>
- * new EACLsException(&quot;failed to load {0}&quot;, fileName);
+ * new EACLsException("failed to load {0}", fileName);
* </PRE>
* <P>
- *
+ *
* @param msgFormat exception details in message string format
* @param param message string parameter
*/
@@ -71,9 +72,9 @@ public class EACLsException extends EBaseException {
}
/**
- * Constructs a base exception. It can be used to carry a system exception
- * that may contain information about the context. For example,
- *
+ * Constructs a base exception. It can be used to carry
+ * a system exception that may contain information about
+ * the context. For example,
* <PRE>
* try {
* ...
@@ -82,7 +83,7 @@ public class EACLsException extends EBaseException {
* }
* </PRE>
* <P>
- *
+ *
* @param msgFormat exception details in message string format
* @param param system exception
*/
@@ -93,10 +94,10 @@ public class EACLsException extends EBaseException {
}
/**
- * Constructs a base exception with a list of parameters that will be
- * substituted into the message format.
+ * Constructs a base 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 +109,7 @@ public class EACLsException extends EBaseException {
/**
* Returns a list of parameters.
* <P>
- *
+ *
* @return list of message format parameters
*/
public Object[] getParameters() {
@@ -117,7 +118,6 @@ public class EACLsException extends EBaseException {
/**
* String representation for the corresponding exception.
- *
* @return String representation for the corresponding exception.
*/
public String toString() {
@@ -126,7 +126,6 @@ public class EACLsException extends EBaseException {
/**
* Returns string representation for the corresponding exception.
- *
* @param locale client specified locale for string representation.
* @return String representation for the corresponding exception.
*/
@@ -137,7 +136,6 @@ public class EACLsException extends EBaseException {
/**
* Return the class name of the resource bundle.
- *
* @return class name of the resource bundle.
*/
protected String getBundleName() {