org.springframework.dao
Class PermissionDeniedDataAccessException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.PermissionDeniedDataAccessException
All Implemented Interfaces:
Serializable

public class PermissionDeniedDataAccessException
extends NonTransientDataAccessException

Exception thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.

Since:
2.0
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
PermissionDeniedDataAccessException(String msg, Throwable cause)
          Constructor for PermissionDeniedDataAccessException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionDeniedDataAccessException

public PermissionDeniedDataAccessException(String msg,
                                           Throwable cause)
Constructor for PermissionDeniedDataAccessException.

Parameters:
msg - the detail message
cause - the root cause from the underlying data access API, such as JDBC