01: /*
02: * Created by IntelliJ IDEA.
03: * User: russell
04: * Date: Jan 14, 2003
05: * Time: 3:15:19 PM
06: * To change template for new class use
07: * Code Style | Class Templates options (Tools | IDE Options).
08: */
09: package org.gridsphere.services.core.security.auth;
10:
11: import java.util.Map;
12: import java.util.TreeMap;
13:
14: public class AuthorizationException extends RuntimeException {
15:
16: public Map invalidParameters = new TreeMap();
17:
18: public AuthorizationException() {
19: super ();
20: }
21:
22: public AuthorizationException(String msg) {
23: super (msg);
24: }
25:
26: public Map getInvalidParameters() {
27: return this .invalidParameters;
28: }
29:
30: public void putInvalidParameter(String name, String explanation) {
31: this.invalidParameters.put(name, explanation);
32: }
33: }
|