@ControllerAdvice public class ExceptionLogger extends Object
| Constructor and Description |
|---|
ExceptionLogger() |
@ResponseStatus(value=INTERNAL_SERVER_ERROR,
reason="Unexpected exception occurred")
@ExceptionHandler(value=java.lang.Exception.class)
public void logException(Exception exception)
Copyright © 2012–2016 Pivotal Software, Inc.. All rights reserved.