UnloadedSidException.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. import org.acegisecurity.AcegiSecurityException;
  17. /**
  18. * Thrown if an {@link Acl} cannot perform an operation because it only loaded a subset of <code>Sid</code>s and
  19. * the caller has requested details for an unloaded <code>Sid</code>.
  20. *
  21. * @author Ben Alex
  22. * @version $Id$
  23. */
  24. public class UnloadedSidException extends AcegiSecurityException {
  25. //~ Constructors ===================================================================================================
  26. /**
  27. * Constructs an <code>NotFoundException</code> with the specified message.
  28. *
  29. * @param msg the detail message
  30. */
  31. public UnloadedSidException(String msg) {
  32. super(msg);
  33. }
  34. /**
  35. * Constructs an <code>NotFoundException</code> with the specified message
  36. * and root cause.
  37. *
  38. * @param msg the detail message
  39. * @param t root cause
  40. */
  41. public UnloadedSidException(String msg, Throwable t) {
  42. super(msg, t);
  43. }
  44. }