Coverage Report - org.openpermis.PolicyDecisionException
 
Classes in this File Line Coverage Branch Coverage Complexity
PolicyDecisionException
0%
0/8
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;
 11  
 
 12  
 
 13  
 /**
 14  
  * An exception that gets thrown when policy-based access control cannot be performed.
 15  
  * @since 0.1.0
 16  
  */
 17  
 public class PolicyDecisionException extends Exception {
 18  
 
 19  
         //---- Static
 20  
         
 21  
         /**
 22  
          * @since 0.1.0
 23  
          */
 24  
         private static final long serialVersionUID = -1274498714250237719L;
 25  
 
 26  
         //---- Constructors
 27  
         
 28  
         /**
 29  
          * Creates an unspecified policy decision exception.
 30  
          * @since 0.1.0
 31  
          */
 32  
         public PolicyDecisionException () {
 33  0
                 super();
 34  0
         }
 35  
 
 36  
         /**
 37  
          * Creates a policy decision exception with the specified message.
 38  
          * @param message the message for this exception.
 39  
          * @since 0.1.0
 40  
          */
 41  
         public PolicyDecisionException (String message) {
 42  0
                 super(message);
 43  0
         }
 44  
 
 45  
         /**
 46  
          * Creates a policy decision exception with the specified root cause.
 47  
          * @param cause the {@link Throwable} causing this exception to be thrown.
 48  
          * @since 0.1.0
 49  
          */
 50  
         public PolicyDecisionException (Throwable cause) {
 51  0
                 super(cause);
 52  0
         }
 53  
 
 54  
         /**
 55  
          * Creates a policy decision exception with the specified message and root cause.
 56  
          * @param message the message for this exception.
 57  
          * @param cause the {@link Throwable} causing this exception to be thrown.
 58  
          * @since 0.1.0
 59  
          */
 60  
         public PolicyDecisionException (String message, Throwable cause) {
 61  0
                 super(message, cause);
 62  0
         }
 63  
 
 64  
 }