Skip to content

Package io.github.qishr.cascara.common.service

Class ServiceException

java.lang.Object
        java.lang.Throwable
                java.lang.Exception
                        java.lang.RuntimeException
                                io.github.qishr.cascara.common.diagnostic.LocalizableRuntimeException
                                        io.github.qishr.cascara.common.service.ServiceException


public class ServiceException
extends LocalizableRuntimeException

Constructor Summary

Constructor Description
ServiceException(DiagnosticCode code, Object[] details) Constructor for errors without an exception
ServiceException(Throwable cause, DiagnosticCode code, Object[] details) Constructor for errors with an exception
ServiceException(String message)
ServiceException(String message, Throwable e)

Methods inherited from LocalizableRuntimeException

getCode, getLocalizedMessage, getDetails