A real AccessDeniedException doesn't appear in Java until 1.7. More...
Public Member Functions | |
AccessDeniedException (String message) | |
AccessDeniedException (String message, Throwable cause) | |
AccessDeniedException (Throwable cause) |
A real AccessDeniedException doesn't appear in Java until 1.7.
Till then, make our own. Even then so far it doesn't take sub-exceptions as constructor arguments.
Similarly, IOException doesn't take a Throwable as a constructor argument till 1.6. Until we move to 1.6, fake one out.