= Interceptor実装サービス jp.ossc.nimbus.service.aop.interceptor.!ExceptionConsumeInterceptorService [http://nimbus.sourceforge.jp/reports/apidocs/jp/ossc/nimbus/service/aop/interceptor/ExceptionConsumeInterceptorService.html jp.ossc.nimbus.service.aop.interceptor.ExceptionConsumeInterceptorService]は、例外を消費する[http://nimbus.sourceforge.jp/reports/apidocs/jp/ossc/nimbus/service/aop/Interceptor.html Interceptor]実装サービスです。[[BR]] 以下に簡単なサービス定義を示します。 {{{ code xml <?xml version="1.0" encoding="Shift_JIS"?> <!DOCTYPE server PUBLIC "-//Nimbus//DTD Nimbus 1.0//JA" "http://nimbus.sourceforge.jp/dtd/nimbus-service_1_0.dtd"> <server> <manager> <!-- 例外を消費するInterceptorサービス --> <service name="ExceptionConsumeInterceptor" code="jp.ossc.nimbus.service.aop.interceptor.ExceptionConsumeInterceptorService"> <!-- 消費する例外のクラス名を設定する --> <attribute name="ExceptionClassNames">java.lang.NullPointerException</attribute> </service> </manager> </server> }}} ---- [wiki:Function/service/aop#header_Interceptor アスペクト指向/Interceptor]