Class ExceptionDetail
java.lang.Object
com.github.damianwajser.exceptions.model.ExceptionDetail
- All Implemented Interfaces:
Serializable
public class ExceptionDetail extends Object implements Serializable
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExceptionDetail()ExceptionDetail(String errorCode, String errorMessage, Optional<Object> detail) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)StringgetErrorCode()Optional<Object>getErrorDetail()StringgetErrorMessage()Map<String,Object>getMetaData()inthashCode()voidsetErrorMessage(String message)voidsetMetaData(String key, Object value)StringtoString()
-
Constructor Details
-
ExceptionDetail
public ExceptionDetail() -
ExceptionDetail
-
-
Method Details
-
getErrorCode
-
getErrorMessage
-
setMetaData
-
getMetaData
-
getErrorDetail
-
setErrorMessage
-
hashCode
public int hashCode() -
equals
-
toString
-