Package energy.eddie.core.web
Class PermissionFacadeControllerAdvice
java.lang.Object
energy.eddie.core.web.PermissionFacadeControllerAdvice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.ResponseEntity<Void> handleDataNeedDisabledException(Exception exception) protected org.springframework.http.ResponseEntity<Map<String, List<EddieApiError>>>
-
Constructor Details
-
PermissionFacadeControllerAdvice
public PermissionFacadeControllerAdvice()
-
-
Method Details
-
handleUnknownRegionConnectorAndDataNeedNotFoundException
@ExceptionHandler({DataNeedNotFoundException.class,UnknownRegionConnectorException.class}) protected org.springframework.http.ResponseEntity<Map<String,List<EddieApiError>>> handleUnknownRegionConnectorAndDataNeedNotFoundException(Exception exception) -
handleDataNeedDisabledException
@ExceptionHandler(DataNeedDisabledException.class) protected org.springframework.http.ResponseEntity<Void> handleDataNeedDisabledException(Exception exception)
-