• R/O
  • SSH
  • HTTPS

phosphoresce: Commit


Commit MetaInfo

Revision304 (tree)
Time2013-06-23 16:18:21
Authorbbcry

Log Message

(empty log message)

Change Summary

Incremental Difference

--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/config/CustomModuleConfig.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/config/CustomModuleConfig.java (revision 304)
@@ -4,11 +4,11 @@
44 import org.apache.struts.config.ActionConfig;
55 import org.apache.struts.config.impl.ModuleConfigImpl;
66 import org.phosphoresce.webcore.config.Config;
7-import org.phosphoresce.webcore.exception.WebcoreConfigurationException;
7+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
88 import org.phosphoresce.webcore.struts.util.StrutsUtil;
99
1010 /**
11- * StrutsModuleConfig拡張クラス<br>
11+ * モジュールコンフィグ拡張クラス<br>
1212 * <br>
1313 * 当クラスは標準のModuleConfigを拡張したクラスでActionの生成をstruts-config.xmlからの生成ではなく、
1414 * リクエストされたパスから動的に生成するように拡張されたクラスです。<br>
@@ -68,13 +68,13 @@
6868
6969 return config;
7070 } catch (Throwable e) {
71- throw new WebcoreConfigurationException("FSTR00001", new Object[] { "ActionConfig" }, e);
71+ throw new StrutsProcessInternalException("FSTR00006", e);
7272 }
7373 }
7474
7575 /**
7676 * Struts環境設定モジュールの凍結処理を行います。<br>
77- * ディフォルトStruts動作をオーバーライドさせて凍結処理は無視させます。<br>
77+ * 動的定義変更を実現するためにディフォルトStruts動作をオーバーライドさせて凍結処理は無視させます。<br>
7878 * @see org.apache.struts.config.impl.ModuleConfigImpl#freeze()
7979 */
8080 @Override
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/config/CustomModuleConfigFactory.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/config/CustomModuleConfigFactory.java (revision 304)
@@ -4,7 +4,7 @@
44 import org.apache.struts.config.ModuleConfigFactory;
55
66 /**
7- * StrutsModuleConfigFactory拡張クラス<br>
7+ * モジュールコンフィグファクトリ拡張クラス<br>
88 * <br>
99 * 当クラスは標準のModuleConfigの代わりの拡張されたModuleConfigオブジェクトを提供します。<br>
1010 *
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/StrutsConfiguration.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/StrutsConfiguration.java (revision 304)
@@ -1,5 +1,7 @@
11 package org.phosphoresce.webcore.struts;
22
3+import org.phosphoresce.jod.JODSOfficeProcessManager;
4+import org.phosphoresce.webcore.exception.WebcoreConfigurationException;
35 import org.phosphoresce.webcore.logger.CodeConvertLogger;
46 import org.slf4j.LoggerFactory;
57
@@ -30,5 +32,23 @@
3032 * 当初期化処理はアプリケーション共通初期化処理が完了されていることが前提となります。<br>
3133 */
3234 public synchronized static void configure() {
35+ try {
36+ log.output("FSTR00001");
37+
38+ // Strutsアドオンモジュール個別の初期化処理はなし
39+
40+ log.output("FSTR00002");
41+ } catch (Throwable e) {
42+ throw new WebcoreConfigurationException("FSTR00006", e);
43+ }
3344 }
45+
46+ /**
47+ * Strutsアドオンの破棄処理を実行します。<br>
48+ * @throws Throwable 終了処理中に予期せぬエラーが発生した場合にスローされます
49+ */
50+ public synchronized static void destroy() throws Throwable {
51+ JODSOfficeProcessManager.destroy();
52+ log.output("FSTR00003");
53+ }
3454 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/Forward.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/Forward.java (revision 304)
@@ -14,7 +14,7 @@
1414 import org.phosphoresce.commons.util.StringUtil;
1515 import org.phosphoresce.webcore.config.Config;
1616 import org.phosphoresce.webcore.struts.annotation.CacheField;
17-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
17+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
1818 import org.phosphoresce.webcore.struts.util.StrutsUtil;
1919
2020 /**
@@ -176,10 +176,10 @@
176176 }
177177 return this;
178178 }
179- } catch (StrutsServletProcessException e) {
179+ } catch (StrutsProcessInternalException e) {
180180 throw e;
181181 } catch (Throwable e) {
182- throw new StrutsServletProcessException("FSTR00033", e);
182+ throw new StrutsProcessInternalException("FSTR00033", e);
183183 }
184184 }
185185
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ServletContainerLogicWrapper.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ServletContainerLogicWrapper.java (revision 304)
@@ -3,7 +3,7 @@
33 import java.io.OutputStream;
44 import java.io.Serializable;
55
6-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
6+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
77
88 /**
99 * ロジックサーブレットコンテナクラス<br>
@@ -36,7 +36,7 @@
3636 @Deprecated
3737 @Override
3838 public void disposeSession() {
39- throw new StrutsServletProcessException("FSTR00019");
39+ throw new StrutsProcessInternalException("FSTR00019");
4040 }
4141
4242 /**
@@ -49,7 +49,7 @@
4949 @Deprecated
5050 @Override
5151 public OutputStream getResponseStream(String mimeType) {
52- throw new StrutsServletProcessException("FSTR00019");
52+ throw new StrutsProcessInternalException("FSTR00019");
5353 }
5454
5555 /**
@@ -62,7 +62,7 @@
6262 @Deprecated
6363 @Override
6464 public OutputStream getDownloadStream(String filename) {
65- throw new StrutsServletProcessException("FSTR00019");
65+ throw new StrutsProcessInternalException("FSTR00019");
6666 }
6767
6868 /**
@@ -74,7 +74,7 @@
7474 @Deprecated
7575 @Override
7676 public OutputStream getJSONStream() {
77- throw new StrutsServletProcessException("FSTR00019");
77+ throw new StrutsProcessInternalException("FSTR00019");
7878 }
7979
8080 /**
@@ -86,7 +86,7 @@
8686 @Deprecated
8787 @Override
8888 public void writeJSON(Object bean) {
89- throw new StrutsServletProcessException("FSTR00019");
89+ throw new StrutsProcessInternalException("FSTR00019");
9090 }
9191
9292 /**
@@ -100,7 +100,7 @@
100100 @Deprecated
101101 @Override
102102 public void setCookie(String name, String value, int expiry) {
103- throw new StrutsServletProcessException("FSTR00019");
103+ throw new StrutsProcessInternalException("FSTR00019");
104104 }
105105
106106 /**
@@ -113,7 +113,7 @@
113113 @Deprecated
114114 @Override
115115 public void setCookie(String name, String value) {
116- throw new StrutsServletProcessException("FSTR00019");
116+ throw new StrutsProcessInternalException("FSTR00019");
117117 }
118118
119119 /**
@@ -125,6 +125,6 @@
125125 @Deprecated
126126 @Override
127127 public void removeCookie(String name) {
128- throw new StrutsServletProcessException("FSTR00019");
128+ throw new StrutsProcessInternalException("FSTR00019");
129129 }
130130 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/WindowSessionContainer.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/WindowSessionContainer.java (revision 304)
@@ -8,7 +8,7 @@
88 import org.phosphoresce.commons.util.DateUtil;
99 import org.phosphoresce.webcore.config.Config;
1010 import org.phosphoresce.webcore.logger.CodeConvertLogger;
11-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
11+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
1212 import org.slf4j.LoggerFactory;
1313
1414 /**
@@ -200,7 +200,7 @@
200200 try {
201201 return screenDataClass.newInstance();
202202 } catch (Throwable e) {
203- throw new StrutsServletProcessException("FSTR00007", new Object[] { screenDataClass });
203+ throw new StrutsProcessInternalException("FSTR00007", new Object[] { screenDataClass });
204204 }
205205 }
206206
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/AbstractLogic.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/AbstractLogic.java (revision 304)
@@ -5,7 +5,7 @@
55 import java.util.Date;
66
77 import org.phosphoresce.webcore.logger.CodeConvertLogger;
8-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
8+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
99 import org.phosphoresce.webcore.struts.util.StrutsUtil;
1010 import org.slf4j.LoggerFactory;
1111
@@ -71,16 +71,16 @@
7171 protected <G extends AbstractLogic<L>> G createLogic(Class<G> clazz) {
7272 try {
7373 if (StrutsUtil.getStrutsLogicAnnotation((Class<AbstractLogic<L>>) clazz) == null) {
74- throw new StrutsServletProcessException("FSTR00020", new Object[] { (clazz == null ? "null" : clazz.getSimpleName()) });
74+ throw new StrutsProcessInternalException("FSTR00020", new Object[] { (clazz == null ? "null" : clazz.getSimpleName()) });
7575 }
7676 Constructor<G> constructor = clazz.getConstructor(ServletContainer.class);
7777 G g = constructor.newInstance(servlet);
7878 servlet.addLogic(g);
7979 return g;
80- } catch (StrutsServletProcessException e) {
80+ } catch (StrutsProcessInternalException e) {
8181 throw e;
8282 } catch (Throwable e) {
83- throw new StrutsServletProcessException("FSTR00021", e);
83+ throw new StrutsProcessInternalException("FSTR00021", e);
8484 }
8585 }
8686
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ActionProcessDefault.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ActionProcessDefault.java (revision 304)
@@ -46,7 +46,7 @@
4646 import org.phosphoresce.webcore.struts.exception.StrutsNoLoggedinException;
4747 import org.phosphoresce.webcore.struts.exception.StrutsNoSuchActionClassException;
4848 import org.phosphoresce.webcore.struts.exception.StrutsNoSuchActionMethodException;
49-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
49+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
5050 import org.phosphoresce.webcore.struts.exception.StrutsSessionTimeoutException;
5151 import org.phosphoresce.webcore.struts.util.StrutsUtil;
5252 import org.slf4j.LoggerFactory;
@@ -582,7 +582,7 @@
582582 }
583583 }
584584 } catch (Throwable e) {
585- throw new StrutsServletProcessException("FSTR00047", e);
585+ throw new StrutsProcessInternalException("FSTR00047", e);
586586 }
587587 }
588588
@@ -629,12 +629,12 @@
629629 } catch (InvocationTargetException e) {
630630 // バリデーションメソッド実行時のエラーはルート要因をスロー
631631 if (e.getCause() != null) {
632- throw new StrutsServletProcessException("FSTR00049", e.getCause());
632+ throw new StrutsProcessInternalException("FSTR00049", e.getCause());
633633 } else {
634- throw new StrutsServletProcessException("FSTR00049", e);
634+ throw new StrutsProcessInternalException("FSTR00049", e);
635635 }
636636 } catch (Throwable e) {
637- throw new StrutsServletProcessException("FSTR00049", e);
637+ throw new StrutsProcessInternalException("FSTR00049", e);
638638 }
639639 }
640640
@@ -774,10 +774,10 @@
774774 if (e.getCause() instanceof StrutsModuleCriticalException) {
775775 throw (StrutsModuleCriticalException) e.getCause();
776776 } else {
777- throw new StrutsServletProcessException("FSTR00052", e.getCause());
777+ throw new StrutsProcessInternalException("FSTR00052", e.getCause());
778778 }
779779 } catch (Throwable e) {
780- throw new StrutsServletProcessException("FSTR00052", e.getCause());
780+ throw new StrutsProcessInternalException("FSTR00052", e.getCause());
781781 }
782782 }
783783
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/TemporaryOutputStreamContainer.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/TemporaryOutputStreamContainer.java (revision 304)
@@ -8,7 +8,7 @@
88
99 import org.phosphoresce.webcore.TemporaryResource;
1010 import org.phosphoresce.webcore.logger.CodeConvertLogger;
11-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
11+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
1212 import org.slf4j.LoggerFactory;
1313
1414 /**
@@ -53,7 +53,7 @@
5353 return stream;
5454 }
5555 } catch (Throwable e) {
56- throw new StrutsServletProcessException("FSTR00022", new Object[] { path }, e);
56+ throw new StrutsProcessInternalException("FSTR00022", new Object[] { path }, e);
5757 }
5858 }
5959
@@ -70,7 +70,7 @@
7070 streams.clear();
7171 }
7272 } catch (Throwable e) {
73- throw new StrutsServletProcessException("FSTR00023", e);
73+ throw new StrutsProcessInternalException("FSTR00023", e);
7474 }
7575 }
7676 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/CustomRequestProcessor.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/CustomRequestProcessor.java (revision 304)
@@ -13,15 +13,13 @@
1313 import org.apache.struts.action.RequestProcessor;
1414 import org.apache.struts.config.FormBeanConfig;
1515 import org.apache.struts.config.ModuleConfig;
16-import org.phosphoresce.webcore.config.StringResource;
1716 import org.phosphoresce.webcore.logger.CodeConvertLogger;
18-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
17+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
1918 import org.phosphoresce.webcore.struts.util.StrutsUtil;
20-import org.slf4j.Logger;
2119 import org.slf4j.LoggerFactory;
2220
2321 /**
24- * Strutsリクエストプロセッサ拡張クラス<br>
22+ * リクエストプロセッサ拡張クラス<br>
2523 * <br>
2624 * Struts標準のリクエストプロセッサクラスを拡張したクラスとなります。<br>
2725 * 当クラスはstruts-config.xmlに未定義のアクションフォームマッピングを動的に生成する機能を提供します。<br>
@@ -45,7 +43,7 @@
4543 @Override
4644 public void init(ActionServlet servlet, ModuleConfig moduleConfig) throws ServletException {
4745 super.init(servlet, moduleConfig);
48- log.output("FSTR00062");
46+ log.output("FSTR00004");
4947 }
5048
5149 /**
@@ -66,14 +64,12 @@
6664 formConfig.setName(mapping.getName());
6765 formConfig.setType(formClass);
6866 moduleConfig.addFormBeanConfig(formConfig);
69- log.output("FSTR00063", formConfig.getName(), formConfig.getType());
67+ log.output("FSTR00005", formConfig.getName(), formConfig.getType());
7068 }
71-
7269 ActionForm form = super.processActionForm(request, response, mapping);
73-
7470 return form;
7571 } catch (Throwable e) {
76- throw new StrutsServletProcessException("FSTR00062", e);
72+ throw new StrutsProcessInternalException("FSTR00006", e);
7773 }
7874 }
7975
@@ -85,25 +81,4 @@
8581 protected ActionForward processException(HttpServletRequest request, HttpServletResponse response, Exception exception, ActionForm form, ActionMapping mapping) throws IOException, ServletException {
8682 throw new ServletException(exception);
8783 }
88-
89- /**
90- * フォームへのパラメータ反映処理を実行します。
91- * @see org.apache.struts.action.RequestProcessor#processPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
92- */
93- @Override
94- protected void processPopulate(HttpServletRequest request, HttpServletResponse response, ActionForm form, ActionMapping mapping) throws ServletException {
95- super.processPopulate(request, response, form, mapping);
96- // if (form == null) {
97- // return;
98- // }
99- // form.setServlet(servlet);
100- // form.reset(mapping, request);
101- // if (mapping.getMultipartClass() != null) {
102- // request.setAttribute("org.apache.struts.action.mapping.multipartclass", mapping.getMultipartClass());
103- // }
104- // RequestUtils.populate(form, mapping.getPrefix(), mapping.getSuffix(), request);
105- // if (request.getParameter("org.apache.struts.taglib.html.CANCEL") != null || request.getParameter("org.apache.struts.taglib.html.CANCEL.x") != null) {
106- // request.setAttribute("org.apache.struts.action.CANCEL", Boolean.TRUE);
107- // }
108- }
10984 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ServletContainer.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/action/ServletContainer.java (revision 304)
@@ -28,7 +28,7 @@
2828 import org.phosphoresce.webcore.logger.CodeConvertLogger;
2929 import org.phosphoresce.webcore.servlet.ServletOutputStream;
3030 import org.phosphoresce.webcore.struts.StrutsConstants;
31-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
31+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
3232 import org.slf4j.LoggerFactory;
3333
3434 /**
@@ -280,7 +280,7 @@
280280
281281 log.output("FSTR00029", data);
282282 } catch (Throwable e) {
283- throw new StrutsServletProcessException("FSTR00030", e);
283+ throw new StrutsProcessInternalException("FSTR00030", e);
284284 }
285285 }
286286
@@ -319,7 +319,7 @@
319319 cookie.setMaxAge(expiry);
320320 response.addCookie(cookie);
321321 } catch (Throwable e) {
322- throw new StrutsServletProcessException("FSTR00031", e);
322+ throw new StrutsProcessInternalException("FSTR00031", e);
323323 }
324324 }
325325
@@ -375,7 +375,7 @@
375375 try {
376376 return URLDecoder.decode(cookie.getValue(), Config.getString("common.charset.default"));
377377 } catch (Throwable e) {
378- throw new StrutsServletProcessException("FSTR00032", e);
378+ throw new StrutsProcessInternalException("FSTR00032", e);
379379 }
380380 }
381381
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/util/StrutsUtil.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/util/StrutsUtil.java (revision 304)
@@ -28,7 +28,7 @@
2828 import org.phosphoresce.webcore.struts.annotation.StrutsActionForm;
2929 import org.phosphoresce.webcore.struts.annotation.StrutsActionMethod;
3030 import org.phosphoresce.webcore.struts.annotation.StrutsLogic;
31-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
31+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
3232
3333 /**
3434 * Strutsモジュールユーティリティクラス<br>
@@ -205,7 +205,7 @@
205205 }
206206 String prefix = moduleConfig.getPrefix();
207207 if (!path.startsWith(prefix)) {
208- throw new StrutsServletProcessException("FSTR00003", new Object[] { path });
208+ throw new StrutsProcessInternalException("FSTR00003", new Object[] { path });
209209 }
210210 path = path.substring(prefix.length());
211211 int slash = path.lastIndexOf("/");
@@ -502,7 +502,7 @@
502502
503503 StrutsAction strutsAction = getStrutsActionAnnotation(action);
504504 if (strutsAction == null) {
505- throw new StrutsServletProcessException("FSTR00004", new Object[] { action.getClass().getName() });
505+ throw new StrutsProcessInternalException("FSTR00004", new Object[] { action.getClass().getName() });
506506 }
507507
508508 Class<AbstractForm<?>> actionFormClass = getActionFormClass(action);
@@ -510,11 +510,11 @@
510510
511511 StrutsActionMethod strutsActionMethod = method.getAnnotation(StrutsActionMethod.class);
512512 if (strutsActionMethod == null) {
513- throw new StrutsServletProcessException("FSTR00005", new Object[] { methodName });
513+ throw new StrutsProcessInternalException("FSTR00005", new Object[] { methodName });
514514 }
515515 return method;
516516 } catch (Throwable e) {
517- throw new StrutsServletProcessException("FSTR00006", e);
517+ throw new StrutsProcessInternalException("FSTR00006", e);
518518 }
519519 }
520520
@@ -594,7 +594,7 @@
594594 }
595595 StrutsActionMethod strutsActionMethod = method.getAnnotation(StrutsActionMethod.class);
596596 if (strutsActionMethod == null) {
597- throw new StrutsServletProcessException("FSTR00005", new Object[] { method.getName() });
597+ throw new StrutsProcessInternalException("FSTR00005", new Object[] { method.getName() });
598598 }
599599 return strutsActionMethod;
600600 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/util/FormBeanUtil.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/util/FormBeanUtil.java (revision 304)
@@ -4,7 +4,7 @@
44 import java.util.List;
55
66 import org.phosphoresce.commons.util.ObjectUtil;
7-import org.phosphoresce.webcore.struts.exception.StrutsServletProcessException;
7+import org.phosphoresce.webcore.struts.exception.StrutsProcessInternalException;
88
99 /**
1010 * アクションフォーム/ビーンユーティリティクラス<br>
@@ -45,7 +45,7 @@
4545 }
4646 return list.get(index);
4747 } catch (Throwable e) {
48- throw new StrutsServletProcessException("FSTR00002", e);
48+ throw new StrutsProcessInternalException("FSTR00002", e);
4949 }
5050 }
5151
@@ -67,7 +67,7 @@
6767 }
6868 list.set(index, value);
6969 } catch (Throwable e) {
70- throw new StrutsServletProcessException("FSTR00002", e);
70+ throw new StrutsProcessInternalException("FSTR00002", e);
7171 }
7272 }
7373 }
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/exception/StrutsServletProcessException.java (revision 303)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/exception/StrutsServletProcessException.java (nonexistent)
@@ -1,52 +0,0 @@
1-package org.phosphoresce.webcore.struts.exception;
2-
3-import org.phosphoresce.webcore.exception.WebcoreCriticalException;
4-
5-/**
6- * Strutsサーブレット処理関連例外クラス<br>
7- *
8- * @author Kitagawa<br>
9- *
10- *<!--
11- * 更新日 更新者 更新内容
12- * 2011/10/11 Kitagawa 新規作成
13- *-->
14- */
15-public class StrutsServletProcessException extends StrutsModuleCriticalException {
16-
17- /**
18- * コンストラクタ<br>
19- * @param code 例外メッセージコード
20- * @param cause 例外要因
21- */
22- public StrutsServletProcessException(String code, Throwable cause) {
23- super(code, cause);
24- }
25-
26- /**
27- * コンストラクタ<br>
28- * @param code 例外メッセージコード
29- * @param binds 例外メッセージバインドオブジェクト
30- * @param cause 例外要因
31- */
32- public StrutsServletProcessException(String code, Object[] binds, Throwable cause) {
33- super(code, binds, cause);
34- }
35-
36- /**
37- * コンストラクタ<br>
38- * @param code 例外メッセージ
39- */
40- public StrutsServletProcessException(String code) {
41- super(code);
42- }
43-
44- /**
45- * コンストラクタ<br>
46- * @param code 例外メッセージ
47- * @param binds 例外メッセージバインドオブジェクト
48- */
49- public StrutsServletProcessException(String code, Object[] binds) {
50- super(code, binds);
51- }
52-}
--- develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/exception/StrutsProcessInternalException.java (nonexistent)
+++ develop/Phosphoresce_Java_Webcore/trunk/webfw_struts/org/phosphoresce/webcore/struts/exception/StrutsProcessInternalException.java (revision 304)
@@ -0,0 +1,52 @@
1+package org.phosphoresce.webcore.struts.exception;
2+
3+import org.phosphoresce.webcore.exception.WebcoreCriticalException;
4+
5+/**
6+ * Strutsサーブレット処理関連例外クラス<br>
7+ *
8+ * @author Kitagawa<br>
9+ *
10+ *<!--
11+ * 更新日 更新者 更新内容
12+ * 2011/10/11 Kitagawa 新規作成
13+ *-->
14+ */
15+public class StrutsProcessInternalException extends StrutsModuleCriticalException {
16+
17+ /**
18+ * コンストラクタ<br>
19+ * @param code 例外メッセージコード
20+ * @param cause 例外要因
21+ */
22+ public StrutsProcessInternalException(String code, Throwable cause) {
23+ super(code, cause);
24+ }
25+
26+ /**
27+ * コンストラクタ<br>
28+ * @param code 例外メッセージコード
29+ * @param binds 例外メッセージバインドオブジェクト
30+ * @param cause 例外要因
31+ */
32+ public StrutsProcessInternalException(String code, Object[] binds, Throwable cause) {
33+ super(code, binds, cause);
34+ }
35+
36+ /**
37+ * コンストラクタ<br>
38+ * @param code 例外メッセージ
39+ */
40+ public StrutsProcessInternalException(String code) {
41+ super(code);
42+ }
43+
44+ /**
45+ * コンストラクタ<br>
46+ * @param code 例外メッセージ
47+ * @param binds 例外メッセージバインドオブジェクト
48+ */
49+ public StrutsProcessInternalException(String code, Object[] binds) {
50+ super(code, binds);
51+ }
52+}
Show on old repository browser