Package io.github.zero88.exceptions
Interface ErrorCodeException
-
- All Known Implementing Classes:
FileException,HiddenException,InvalidUrlException,ReflectionException,RuntimeErrorCodeException
public interface ErrorCodeException
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ErrorCodeerrorCode()Return error codejava.lang.ThrowablegetCause()Return causejava.lang.StringgetMessage()Return error message
-
-
-
Method Detail
-
errorCode
@NotNull @NotNull ErrorCode errorCode()
Return error code- Returns:
- error code
- See Also:
ErrorCode
-
getMessage
java.lang.String getMessage()
Return error message- Returns:
- error message
- See Also:
Throwable.getMessage()
-
getCause
java.lang.Throwable getCause()
Return cause- Returns:
- cause
- See Also:
Throwable.getCause()
-
-