Coverage Report - org.codehaus.plexus.component.repository.exception.ComponentLookupRuntimeException
 
Classes in this File Line Coverage Branch Coverage Complexity
ComponentLookupRuntimeException
0 %
0/3
N/A
1
 
 1  
 package org.codehaus.plexus.component.repository.exception;
 2  
 
 3  
 import org.codehaus.plexus.classworlds.realm.ClassRealm;
 4  
 
 5  
 import java.io.ByteArrayOutputStream;
 6  
 import java.io.PrintStream;
 7  
 
 8  
 /*
 9  
  * Copyright 2001-2006 Codehaus Foundation.
 10  
  *
 11  
  * Licensed under the Apache License, Version 2.0 (the "License");
 12  
  * you may not use this file except in compliance with the License.
 13  
  * You may obtain a copy of the License at
 14  
  *
 15  
  *      http://www.apache.org/licenses/LICENSE-2.0
 16  
  *
 17  
  * Unless required by applicable law or agreed to in writing, software
 18  
  * distributed under the License is distributed on an "AS IS" BASIS,
 19  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 20  
  * See the License for the specific language governing permissions and
 21  
  * limitations under the License.
 22  
  */
 23  
 
 24  
 /**
 25  
  * The exception which is thrown by a component repository when
 26  
  * the requested component cannot be found.
 27  
  *
 28  
  * @author Kristian Rosenvold
 29  
  * @version $Id$
 30  
  */
 31  
 public class ComponentLookupRuntimeException
 32  
     extends RuntimeException
 33  
 {
 34  
     public ComponentLookupRuntimeException( ComponentLookupException cause )
 35  
     {
 36  0
         super( cause );
 37  0
     }
 38  
 
 39  
     public String getMessage()
 40  
     {
 41  0
         return getCause().getMessage();
 42  
     }
 43  
 }