Package io.dialob.client.spi.exceptions
Class StoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.dialob.client.spi.exceptions.StoreException
-
- All Implemented Interfaces:
Serializable
public class StoreException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StoreException(Exception e, String code, DialobStore.StoreEntity target)StoreException(Exception e, String code, DialobStore.StoreEntity target, DialobStore.StoreExceptionMsg... msg)StoreException(String code, DialobStore.StoreEntity target)StoreException(String code, DialobStore.StoreEntity target, DialobStore.StoreExceptionMsg... msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()List<DialobStore.StoreExceptionMsg>getMessages()Optional<DialobStore.StoreEntity>getTarget()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StoreException
public StoreException(Exception e, String code, DialobStore.StoreEntity target)
-
StoreException
public StoreException(Exception e, String code, DialobStore.StoreEntity target, DialobStore.StoreExceptionMsg... msg)
-
StoreException
public StoreException(String code, DialobStore.StoreEntity target)
-
StoreException
public StoreException(String code, DialobStore.StoreEntity target, DialobStore.StoreExceptionMsg... msg)
-
-
Method Detail
-
getCode
public String getCode()
-
getTarget
public Optional<DialobStore.StoreEntity> getTarget()
-
getMessages
public List<DialobStore.StoreExceptionMsg> getMessages()
-
-