Class SmartfiCoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.kukenan.smartfi.microservice.smartficore.exception.SmartfiCoreException
- All Implemented Interfaces:
Serializable
Exception for Tuco Core reply endpoints.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSmartfiCoreException(org.springframework.http.HttpStatus status, String msg) Exception constructor.SmartfiCoreException(org.springframework.http.HttpStatus status, String msg, List<es.kukenan.smartfi.microservice.backoffice.dtos.core.response.CoreResponse.Error> errors) Exception constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
status
private org.springframework.http.HttpStatus statusHttp status. -
errors
private List<es.kukenan.smartfi.microservice.backoffice.dtos.core.response.CoreResponse.Error> errorsList of errors.
-
-
Constructor Details
-
SmartfiCoreException
Exception constructor.- Parameters:
status- Http statusmsg- exception message
-
SmartfiCoreException
public SmartfiCoreException(org.springframework.http.HttpStatus status, String msg, List<es.kukenan.smartfi.microservice.backoffice.dtos.core.response.CoreResponse.Error> errors) Exception constructor.- Parameters:
status- Http statusmsg- exception messageerrors- error list
-