Examples of PermissionDeniedDataAccessException


Examples of org.springframework.dao.PermissionDeniedDataAccessException

          logTranslation(task, sql, sqlEx, false);
          return new DataIntegrityViolationException(buildMessage(task, sql, sqlEx), sqlEx);
        }
        else if (Arrays.binarySearch(this.sqlErrorCodes.getPermissionDeniedCodes(), errorCode) >= 0) {
          logTranslation(task, sql, sqlEx, false);
          return new PermissionDeniedDataAccessException(buildMessage(task, sql, sqlEx), sqlEx);
        }
        else if (Arrays.binarySearch(this.sqlErrorCodes.getDataAccessResourceFailureCodes(), errorCode) >= 0) {
          logTranslation(task, sql, sqlEx, false);
          return new DataAccessResourceFailureException(buildMessage(task, sql, sqlEx), sqlEx);
        }
View Full Code Here

Examples of org.springframework.dao.PermissionDeniedDataAccessException

      }
      else if (ex instanceof SQLIntegrityConstraintViolationException) {
        return new DataIntegrityViolationException(buildMessage(task, sql, ex), ex);
      }
      else if (ex instanceof SQLInvalidAuthorizationSpecException) {
        return new PermissionDeniedDataAccessException(buildMessage(task, sql, ex), ex);
      }
      else if (ex instanceof SQLNonTransientConnectionException) {
        return new DataAccessResourceFailureException(buildMessage(task, sql, ex), ex);
      }
      else if (ex instanceof SQLSyntaxErrorException) {
View Full Code Here

Examples of org.springframework.dao.PermissionDeniedDataAccessException

            case SERVICE_UNAVAILABLE:
            case SERVER_ERROR:
              return new DataAccessResourceFailureException(solrException.getMessage(), solrException);
            case FORBIDDEN:
            case UNAUTHORIZED:
              return new PermissionDeniedDataAccessException(solrException.getMessage(), solrException);
            case BAD_REQUEST:
              return new InvalidDataAccessApiUsageException(solrException.getMessage(), solrException);
            case UNKNOWN:
              return new UncategorizedSolrException(solrException.getMessage(), solrException);
            default:
View Full Code Here

Examples of org.springframework.dao.PermissionDeniedDataAccessException

    }
    if (ex instanceof GemFireIOException) {
      return new DataAccessResourceFailureException(ex.getMessage(), ex);
    }
    if (ex instanceof GemFireSecurityException) {
      return new PermissionDeniedDataAccessException(ex.getMessage(), ex);
    }
    if (ex instanceof IncompatibleSystemException) {
      return new GemfireSystemException(ex);
    }
    if (ex instanceof InternalGemFireException) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.