org.springframework.security.oauth2.provider.error
Class DefaultWebResponseExceptionTranslator

java.lang.Object
  extended by org.springframework.security.oauth2.provider.error.DefaultWebResponseExceptionTranslator
All Implemented Interfaces:
WebResponseExceptionTranslator

public class DefaultWebResponseExceptionTranslator
extends Object
implements WebResponseExceptionTranslator

Author:
Dave Syer

Constructor Summary
DefaultWebResponseExceptionTranslator()
           
 
Method Summary
 void setThrowableAnalyzer(org.springframework.security.web.util.ThrowableAnalyzer throwableAnalyzer)
           
 org.springframework.http.ResponseEntity<OAuth2Exception> translate(Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebResponseExceptionTranslator

public DefaultWebResponseExceptionTranslator()
Method Detail

translate

public org.springframework.http.ResponseEntity<OAuth2Exception> translate(Exception e)
                                                                   throws Exception
Specified by:
translate in interface WebResponseExceptionTranslator
Throws:
Exception

setThrowableAnalyzer

public void setThrowableAnalyzer(org.springframework.security.web.util.ThrowableAnalyzer throwableAnalyzer)


Copyright © 2012. All Rights Reserved.