/** * @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(); } }); }
/** * @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(); } } ); }
/** * @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(); } }); }
public void setThrowableAnalyzer(ThrowableAnalyzer throwableAnalyzer) { this.throwableAnalyzer = throwableAnalyzer; }
/** * The throwable analyzer. * * @return The throwable analyzer. */ public ThrowableAnalyzer getThrowableAnalyzer() { return throwableAnalyzer; }
/** * The throwable analyzer. * * @param throwableAnalyzer The throwable analyzer. */ public void setThrowableAnalyzer(ThrowableAnalyzer throwableAnalyzer) { this.throwableAnalyzer = throwableAnalyzer; }