Coverage Report - org.openpermis.xacml.io.XacmlException
 
Classes in this File Line Coverage Branch Coverage Complexity
XacmlException
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.xacml.io;
 11  
 
 12  
 /**
 13  
  * Exception type for xacml.
 14  
  * @since 0.4.0
 15  
  */
 16  
 public class XacmlException extends Exception {
 17  
 
 18  
         //---- Static
 19  
         
 20  
         /**
 21  
          * @since 0.4.0
 22  
          */
 23  
         private static final long serialVersionUID = -8193534066122723415L;
 24  
         
 25  
         //---- Constructors
 26  
         
 27  
         /**
 28  
          * Creates a new exception with the specified message.
 29  
          * @param message the exception details.
 30  
          * @since 0.4.0
 31  
          */
 32  
         public XacmlException (String message) {
 33  0
                 super(message);
 34  0
         }
 35  
         
 36  
         /**
 37  
          * Creates a new exception with the specified message and cause.
 38  
          * @param message the exception details.
 39  
          * @param cause the original cause for this exception.
 40  
          * @since 0.4.0
 41  
          */
 42  
         public XacmlException (String message, Throwable cause) {
 43  2
                 super(message, cause);
 44  2
         }
 45  
 
 46  
 }