1. /*
  2. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  3. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  4. */
  5. package javax.ejb;
  6. /**
  7. * An AccessLocalException is thrown to indicate that the caller does not
  8. * have permission to call the method. This exception is thrown to
  9. * local clients.
  10. */
  11. public class AccessLocalException extends EJBException {
  12. /**
  13. * Constructs an AccessLocalException with no detail message.
  14. */
  15. public AccessLocalException() {
  16. }
  17. /**
  18. * Constructs an AccessLocalException with the specified
  19. * detail message.
  20. */
  21. public AccessLocalException(String message) {
  22. super(message);
  23. }
  24. /**
  25. * Constructs an AccessLocalException with the specified
  26. * detail message and a nested exception.
  27. */
  28. public AccessLocalException(String message, Exception ex) {
  29. super(message, ex);
  30. }
  31. }