| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| UnloadedSidException |
|
| 1.0;1 |
| 1 | /* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited |
|
| 2 | * |
|
| 3 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 4 | * you may not use this file except in compliance with the License. |
|
| 5 | * You may obtain a copy of the License at |
|
| 6 | * |
|
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 8 | * |
|
| 9 | * Unless required by applicable law or agreed to in writing, software |
|
| 10 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 12 | * See the License for the specific language governing permissions and |
|
| 13 | * limitations under the License. |
|
| 14 | */ |
|
| 15 | package org.acegisecurity.acls; |
|
| 16 | ||
| 17 | import org.acegisecurity.AcegiSecurityException; |
|
| 18 | ||
| 19 | ||
| 20 | /** |
|
| 21 | * Thrown if an {@link Acl} cannot perform an operation because it only loaded a subset of <code>Sid</code>s and |
|
| 22 | * the caller has requested details for an unloaded <code>Sid</code>. |
|
| 23 | * |
|
| 24 | * @author Ben Alex |
|
| 25 | * @version $Id: UnloadedSidException.java 1754 2006-11-17 02:01:21Z benalex $ |
|
| 26 | */ |
|
| 27 | public class UnloadedSidException extends AcegiSecurityException { |
|
| 28 | //~ Constructors =================================================================================================== |
|
| 29 | ||
| 30 | /** |
|
| 31 | * Constructs an <code>NotFoundException</code> with the specified message. |
|
| 32 | * |
|
| 33 | * @param msg the detail message |
|
| 34 | */ |
|
| 35 | public UnloadedSidException(String msg) { |
|
| 36 | 0 | super(msg); |
| 37 | 0 | } |
| 38 | ||
| 39 | /** |
|
| 40 | * Constructs an <code>NotFoundException</code> with the specified message |
|
| 41 | * and root cause. |
|
| 42 | * |
|
| 43 | * @param msg the detail message |
|
| 44 | * @param t root cause |
|
| 45 | */ |
|
| 46 | public UnloadedSidException(String msg, Throwable t) { |
|
| 47 | 0 | super(msg, t); |
| 48 | 0 | } |
| 49 | } |