Class ExceptionEntity
- java.lang.Object
-
- io.tech1.framework.domain.exceptions.ExceptionEntity
-
public class ExceptionEntity extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionEntity(ExceptionEntityType exceptionEntityType, Map<String,Object> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(String attributeKey, Object value)protected booleancanEqual(Object other)booleanequals(Object o)Map<String,Object>getAttributes()ExceptionEntityTypegetExceptionEntityType()longgetTimestamp()inthashCode()static ExceptionEntityof(ExceptionEntityType exceptionEntityType, String shortMessage, String fullMessage)static ExceptionEntityof(Exception exception)StringtoString()
-
-
-
Constructor Detail
-
ExceptionEntity
public ExceptionEntity(ExceptionEntityType exceptionEntityType, Map<String,Object> attributes)
-
-
Method Detail
-
of
public static ExceptionEntity of(ExceptionEntityType exceptionEntityType, String shortMessage, String fullMessage)
-
of
public static ExceptionEntity of(Exception exception)
-
getExceptionEntityType
public ExceptionEntityType getExceptionEntityType()
-
getTimestamp
public long getTimestamp()
-
canEqual
protected boolean canEqual(Object other)
-
-