Coverage Report - org.openpermis.examples.ldap.HelloWorldException
 
Classes in this File Line Coverage Branch Coverage Complexity
HelloWorldException
50%
2/4
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.examples.ldap;
 11  
 
 12  
 
 13  
 /**
 14  
  * A sample exception class for the HelloWorld application.
 15  
  * @since 0.1.0
 16  
  */
 17  
 public class HelloWorldException extends Exception {
 18  
 
 19  
         //---- Static
 20  
         
 21  
         /**
 22  
          * @since 0.1.0
 23  
          */
 24  
         private static final long serialVersionUID = 3402884834741629040L;
 25  
 
 26  
         //---- Constructors
 27  
         
 28  
         /**
 29  
          * Creates an exception with the specified message.
 30  
          * @param message the message for this exception.
 31  
          * @since 0.1.0
 32  
          */
 33  
         public HelloWorldException (String message) {
 34  1
                 super(message);
 35  1
         }
 36  
 
 37  
         /**
 38  
          * Creates an exception with the specified message and cause.
 39  
          * @param message the message for this exception.
 40  
          * @param cause the {@link Throwable} that caused this exception to be thrown.
 41  
          * @since 0.1.0
 42  
          */
 43  
         public HelloWorldException (String message, Throwable cause) {
 44  0
                 super(message, cause);
 45  0
         }
 46  
 
 47  
 }