Coverage Report - org.apache.tomcat.maven.common.deployer.TomcatManagerException
 
Classes in this File Line Coverage Branch Coverage Complexity
TomcatManagerException
0 %
0/6
N/A
1
 
 1  
 package org.apache.tomcat.maven.common.deployer;
 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  
  * Indicates an error received from Tomcat manager.
 24  
  *
 25  
  * @author Mark Hobson <markhobson@gmail.com>
 26  
  */
 27  
 public class TomcatManagerException
 28  
     extends Exception
 29  
 {
 30  
     // ----------------------------------------------------------------------
 31  
     // Constants
 32  
     // ----------------------------------------------------------------------
 33  
 
 34  
     /**
 35  
      * The Java serialization UID for this class.
 36  
      */
 37  
     private static final long serialVersionUID = 4167819069046408371L;
 38  
 
 39  
     // ----------------------------------------------------------------------
 40  
     // Constructors
 41  
     // ----------------------------------------------------------------------
 42  
 
 43  
     /**
 44  
      * Creates a new <code>TomcatManagerException</code> with no message or cause.
 45  
      */
 46  
     public TomcatManagerException()
 47  
     {
 48  0
         super();
 49  0
     }
 50  
 
 51  
     /**
 52  
      * Creates a new <code>TomcatManagerException</code> with the specified message and no cause.
 53  
      *
 54  
      * @param message the message for this exception
 55  
      */
 56  
     public TomcatManagerException( String message )
 57  
     {
 58  0
         super( message );
 59  0
     }
 60  
 
 61  
     /**
 62  
      * Creates a new <code>TomcatManagerException</code> with the specified message and cause.
 63  
      *
 64  
      * @param message the message for this exception
 65  
      * @param cause   the cause of this exception
 66  
      */
 67  
     public TomcatManagerException( String message, Throwable cause )
 68  
     {
 69  0
         super( message, cause );
 70  0
     }
 71  
 }