001 package org.apache.turbine.util.security; 002 003 004 /* 005 * Licensed to the Apache Software Foundation (ASF) under one 006 * or more contributor license agreements. See the NOTICE file 007 * distributed with this work for additional information 008 * regarding copyright ownership. The ASF licenses this file 009 * to you under the Apache License, Version 2.0 (the 010 * "License"); you may not use this file except in compliance 011 * with the License. You may obtain a copy of the License at 012 * 013 * http://www.apache.org/licenses/LICENSE-2.0 014 * 015 * Unless required by applicable law or agreed to in writing, 016 * software distributed under the License is distributed on an 017 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 018 * KIND, either express or implied. See the License for the 019 * specific language governing permissions and limitations 020 * under the License. 021 */ 022 023 024 import org.apache.turbine.util.TurbineException; 025 026 /** 027 * Thrown by SecurityService methods to indicate various problems. 028 * 029 * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a> 030 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a> 031 * @version $Id: TurbineSecurityException.java 1078552 2011-03-06 19:58:46Z tv $ 032 */ 033 public class TurbineSecurityException 034 extends TurbineException 035 { 036 /** Serial version */ 037 private static final long serialVersionUID = 3932095155241924973L; 038 039 /** 040 * Construct an SecurityException with specified detail message. 041 * 042 * @param msg The detail message. 043 */ 044 public TurbineSecurityException(String msg) 045 { 046 super(msg); 047 } 048 049 /** 050 * Construct an SecurityException with specified detail message 051 * and nested <code>Throwable</code>. 052 * 053 * @param msg The detail message. 054 * @param nested the exception or error that caused this exception 055 * to be thrown. 056 */ 057 public TurbineSecurityException(String msg, Throwable nested) 058 { 059 super(msg, nested); 060 } 061 }