org.springframework.dao

Class PermissionDeniedDataAccessException

  • All Implemented Interfaces:
    java.io.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

      Constructors 
      Constructor and Description
      PermissionDeniedDataAccessException(java.lang.String msg, java.lang.Throwable cause)
      Constructor for PermissionDeniedDataAccessException.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, 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(java.lang.String msg,
                                                   java.lang.Throwable cause)
        Constructor for PermissionDeniedDataAccessException.
        Parameters:
        msg - the detail message
        cause - the root cause from the underlying data access API, such as JDBC