Coverage Report - org.apache.maven.doxia.parser.manager.ParserNotFoundException
 
Classes in this File Line Coverage Branch Coverage Complexity
ParserNotFoundException
0%
0/6
N/A
1
 
 1  
 package org.apache.maven.doxia.parser.manager;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  *   http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 
 22  
 /**
 23  
  * Encapsulate a Doxia exception that indicates that a parser
 24  
  * does not exist or could not be found.
 25  
  *
 26  
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
 27  
  * @version $Id: ParserNotFoundException.java 662767 2008-06-03 12:25:07Z ltheussl $
 28  
  * @since 1.0
 29  
  */
 30  
 public class ParserNotFoundException
 31  
     extends Exception
 32  
 {
 33  
     /** serialVersionUID */
 34  
     static final long serialVersionUID = 295967936746221567L;
 35  
 
 36  
     /**
 37  
      * Construct a new ParserNotFoundException with the specified detail message.
 38  
      *
 39  
      * @param message The detailed message.
 40  
      * This can later be retrieved by the Throwable.getMessage() method.
 41  
      */
 42  
     public ParserNotFoundException( String message )
 43  
     {
 44  0
         super( message );
 45  0
     }
 46  
 
 47  
     /**
 48  
      * Constructs a new exception with the specified cause. The error
 49  
      * message is (cause == null ? null : cause.toString() ).
 50  
      *
 51  
      * @param cause the cause. This can be retrieved later by the
 52  
      * Throwable.getCause() method. (A null value is permitted, and indicates
 53  
      * that the cause is nonexistent or unknown.)
 54  
      */
 55  
     public ParserNotFoundException( Throwable cause )
 56  
     {
 57  0
         super( cause );
 58  0
     }
 59  
 
 60  
     /**
 61  
      * Construct a new ParserNotFoundException with the specified
 62  
      * detail message and cause.
 63  
      *
 64  
      * @param message The detailed message.
 65  
      * This can later be retrieved by the Throwable.getMessage() method.
 66  
      * @param cause the cause. This can be retrieved later by the
 67  
      * Throwable.getCause() method. (A null value is permitted, and indicates
 68  
      * that the cause is nonexistent or unknown.)
 69  
      */
 70  
     public ParserNotFoundException( String message, Throwable cause )
 71  
     {
 72  0
         super( message, cause );
 73  0
     }
 74  
 }