Java 类org.springframework.security.web.util.ThrowableAnalyzer 实例源码

项目:generator-spring-spa    文件:AjaxTimeoutRedirectFilter.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
protected void initExtractorMap() {
    super.initExtractorMap();

    registerExtractor(ServletException.class, new ThrowableCauseExtractor() {
        public Throwable extractCause(Throwable throwable) {
            ThrowableAnalyzer.verifyThrowableHierarchy(throwable, ServletException.class);
            return ((ServletException) throwable).getRootCause();
        }
    });
}
项目:modinvreg    文件:AjaxTimeoutRedirectFilter.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
@Override
protected void initExtractorMap() {
    super.initExtractorMap();

    registerExtractor( ServletException.class, new ThrowableCauseExtractor() {
        @Override
        public Throwable extractCause( Throwable throwable ) {
            ThrowableAnalyzer.verifyThrowableHierarchy( throwable, ServletException.class );
            return ( ( ServletException ) throwable ).getRootCause();
        }
    } );
}
项目:netxilia    文件:ExcludeAjaxExceptionTranslationFilter.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
@Override
protected void initExtractorMap() {
    super.initExtractorMap();

    registerExtractor(ServletException.class, new ThrowableCauseExtractor() {
        public Throwable extractCause(Throwable throwable) {
            ThrowableAnalyzer.verifyThrowableHierarchy(throwable, ServletException.class);
            return ((ServletException) throwable).getRootCause();
        }
    });
}
项目:oauth-client-master    文件:DefaultThrowableAnalyzer.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
protected void initExtractorMap() {
  super.initExtractorMap();

  registerExtractor(ServletException.class, new ThrowableCauseExtractor() {
    public Throwable extractCause(Throwable throwable) {
      ThrowableAnalyzer.verifyThrowableHierarchy(throwable, ServletException.class);
      return ((ServletException) throwable).getRootCause();
    }
  });
}
项目:oauth-client-master    文件:OAuthConsumerContextFilter.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
protected void initExtractorMap() {
    super.initExtractorMap();

    registerExtractor(ServletException.class, new ThrowableCauseExtractor() {
        public Throwable extractCause(Throwable throwable) {
            ThrowableAnalyzer.verifyThrowableHierarchy(throwable, ServletException.class);
            return ((ServletException) throwable).getRootCause();
        }
    });
}
项目:AIDR    文件:AjaxTimeoutRedirectFilter.java   
/**
 * @see org.springframework.security.web.util.ThrowableAnalyzer#initExtractorMap()
 */
protected void initExtractorMap() {
    super.initExtractorMap();

    registerExtractor(ServletException.class, new ThrowableCauseExtractor() {
        public Throwable extractCause(Throwable throwable) {
            ThrowableAnalyzer.verifyThrowableHierarchy(throwable, ServletException.class);
            return ((ServletException) throwable).getRootCause();
        }
    });
}
项目:oauth-client-master    文件:OAuth2ClientContextFilter.java   
public void setThrowableAnalyzer(ThrowableAnalyzer throwableAnalyzer) {
    this.throwableAnalyzer = throwableAnalyzer;
}
项目:oauth-client-master    文件:DefaultWebResponseExceptionTranslator.java   
public void setThrowableAnalyzer(ThrowableAnalyzer throwableAnalyzer) {
    this.throwableAnalyzer = throwableAnalyzer;
}
项目:oauth-client-master    文件:OAuthConsumerContextFilter.java   
/**
 * The throwable analyzer.
 *
 * @return The throwable analyzer.
 */
public ThrowableAnalyzer getThrowableAnalyzer() {
    return throwableAnalyzer;
}
项目:oauth-client-master    文件:OAuthConsumerContextFilter.java   
/**
 * The throwable analyzer.
 *
 * @param throwableAnalyzer The throwable analyzer.
 */
public void setThrowableAnalyzer(ThrowableAnalyzer throwableAnalyzer) {
    this.throwableAnalyzer = throwableAnalyzer;
}