1 /* 2 * Copyright 2012-2013 smartics, Kronseder & Reiner GmbH 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package de.smartics.properties.api.core.security; 17 18 import de.smartics.properties.api.core.app.PropertyRootException; 19 import de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean; 20 21 /** 22 * Signals that the security infrastructure cannot be created. 23 */ 24 public class SecurityException extends PropertyRootException 25 { 26 // ********************************* Fields ********************************* 27 28 // --- constants ------------------------------------------------------------ 29 30 /** 31 * The class version identifier. 32 * <p> 33 * The value of this constant is {@value}. 34 * </p> 35 */ 36 private static final long serialVersionUID = 1L; 37 38 // --- members -------------------------------------------------------------- 39 40 // ****************************** Initializer ******************************* 41 42 // ****************************** Constructors ****************************** 43 44 /** 45 * Default constructor for issues encountered without a property in its 46 * context. 47 * 48 * @param message the detail message (which is saved for later retrieval by 49 * the {@link #getMessage()} method). 50 */ 51 public SecurityException(final SecurityMessageBean message) 52 { 53 super(message); 54 } 55 56 /** 57 * Default constructor for issues encountered with a property in its context. 58 * 59 * @param message the detail message (which is saved for later retrieval by 60 * the {@link #getMessage()} method). 61 */ 62 public SecurityException(final PropertyDescriptorMessageBean message) 63 { 64 super(message); 65 } 66 67 // ****************************** Inner Classes ***************************** 68 69 // ********************************* Methods ******************************** 70 71 // --- init ----------------------------------------------------------------- 72 73 // --- get&set -------------------------------------------------------------- 74 75 // --- business ------------------------------------------------------------- 76 77 // --- object basics -------------------------------------------------------- 78 79 }