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