Coverage Report - org.seasar.uruma.exception.EnablesDependingException
 
Classes in this File Line Coverage Branch Coverage Complexity
EnablesDependingException
0%
0/4
N/A
0
 
 1  
 /*
 2  
  * Copyright 2004-2008 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *     http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.uruma.exception;
 17  
 
 18  
 import org.seasar.uruma.binding.enables.EnablesForType;
 19  
 import org.seasar.uruma.core.UrumaMessageCodes;
 20  
 
 21  
 /**
 22  
  * EnablesDependig に関する例外発生時にスローされるクラスです<br />
 23  
  * 
 24  
  * @author y-komori
 25  
  */
 26  
 public class EnablesDependingException extends UrumaRuntimeException {
 27  
 
 28  
     private static final long serialVersionUID = 8620926004808209421L;
 29  
 
 30  
     /**
 31  
      * {@link EnablesDependingException} を構築します。<br />
 32  
      * 
 33  
      * @param targetClass
 34  
      *            ターゲットウィジット
 35  
      * @see UrumaMessageCodes#DEPENDING_WIDGET_NOT_SUPPORTED
 36  
      */
 37  
     public EnablesDependingException(final Class<?> targetClass) {
 38  0
         super(UrumaMessageCodes.DEPENDING_WIDGET_NOT_SUPPORTED, targetClass
 39  
                 .getName());
 40  0
     }
 41  
 
 42  
     /**
 43  
      * {@link EnablesDependingException} を構築します。<br />
 44  
      * 
 45  
      * @param targetClass
 46  
      *            ターゲットウィジット
 47  
      * @param type
 48  
      *            選択条件を表す {@link EnablesForType}
 49  
      * @see UrumaMessageCodes#DEPENDING_TYPE_NOT_SUPPORTED
 50  
      */
 51  
     public EnablesDependingException(final Class<?> targetClass,
 52  
             final EnablesForType type) {
 53  0
         super(UrumaMessageCodes.DEPENDING_TYPE_NOT_SUPPORTED, targetClass
 54  
                 .getName(), type);
 55  0
     }
 56  
 }