Coverage Report - org.openpermis.examples.ejb.server.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.ejb.server;
 11  
 
 12  
 
 13  
 /**
 14  
  * Sample exception for the hello EJB service.
 15  
  * @since 0.3.0
 16  
  */
 17  
 public class HelloWorldException
 18  
         extends Exception
 19  
 {
 20  
 
 21  
         //---- Static
 22  
         
 23  
         /**
 24  
          * @since 0.3.0
 25  
          */
 26  
         private static final long serialVersionUID = 5517886613049935598L;
 27  
 
 28  
         //---- Constructors
 29  
         
 30  
         /**
 31  
          * Creates an exception with the specified message.
 32  
          * @param message the message for this exception.
 33  
          * @since 0.1.0
 34  
          */
 35  
         public HelloWorldException (String message) {
 36  1
                 super(message);
 37  1
         }
 38  
 
 39  
         /**
 40  
          * Creates an exception with the specified message and cause.
 41  
          * @param message the message for this exception.
 42  
          * @param cause the {@link Throwable} that caused this exception to be thrown.
 43  
          * @since 0.1.0
 44  
          */
 45  
         public HelloWorldException (String message, Throwable cause) {
 46  0
                 super(message, cause);
 47  0
         }
 48  
 
 49  
 }