Package org.saidone.controller
Class GlobalExceptionHandler
java.lang.Object
org.saidone.controller.GlobalExceptionHandler
Global exception handler for REST controllers.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GlobalExceptionHandler
public GlobalExceptionHandler()
-
-
Method Details
-
handleException
@ExceptionHandler(java.lang.Exception.class) public org.springframework.http.ResponseEntity<String> handleException(Exception e) -
handleVaultException
@ExceptionHandler(VaultException.class) public org.springframework.http.ResponseEntity<String> handleVaultException(VaultException e) -
handleNodeNotFoundException
@ExceptionHandler(NodeNotFoundException.class) public org.springframework.http.ResponseEntity<String> handleNodeNotFoundException(NodeNotFoundException e) -
handleOutOfMemoryError
@ExceptionHandler(java.lang.OutOfMemoryError.class) public org.springframework.http.ResponseEntity<String> handleOutOfMemoryError(OutOfMemoryError e) -
handleNotarizationException
@ExceptionHandler(NotarizationException.class) public org.springframework.http.ResponseEntity<String> handleNotarizationException(NotarizationException e)
-