1 package org.apache.turbine.util.security; 2 3 4 /* 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 */ 22 23 24 import org.apache.turbine.util.TurbineException; 25 26 /** 27 * Thrown by SecurityService methods to indicate various problems. 28 * 29 * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a> 30 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a> 31 * @version $Id: TurbineSecurityException.java 1078552 2011-03-06 19:58:46Z tv $ 32 */ 33 public class TurbineSecurityException 34 extends TurbineException 35 { 36 /** Serial version */ 37 private static final long serialVersionUID = 3932095155241924973L; 38 39 /** 40 * Construct an SecurityException with specified detail message. 41 * 42 * @param msg The detail message. 43 */ 44 public TurbineSecurityException(String msg) 45 { 46 super(msg); 47 } 48 49 /** 50 * Construct an SecurityException with specified detail message 51 * and nested <code>Throwable</code>. 52 * 53 * @param msg The detail message. 54 * @param nested the exception or error that caused this exception 55 * to be thrown. 56 */ 57 public TurbineSecurityException(String msg, Throwable nested) 58 { 59 super(msg, nested); 60 } 61 }