Package io.github.zero88.exceptions
Class RuntimeErrorCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.zero88.exceptions.RuntimeErrorCodeException
-
- All Implemented Interfaces:
ErrorCodeException,java.io.Serializable
- Direct Known Subclasses:
FileException,HiddenException,InvalidUrlException,ReflectionException
public class RuntimeErrorCodeException extends java.lang.RuntimeException implements ErrorCodeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description RuntimeErrorCodeException(@NotNull ErrorCode code, java.lang.String message, java.lang.Throwable e)protectedRuntimeErrorCodeException(ErrorCode errorCode)RuntimeErrorCodeException(ErrorCode code, java.lang.String message)RuntimeErrorCodeException(ErrorCode code, java.lang.Throwable e)RuntimeErrorCodeException(java.lang.String message)RuntimeErrorCodeException(java.lang.String message, java.lang.Throwable e)RuntimeErrorCodeException(java.lang.Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull ErrorCodeerrorCode()Return error codeinthashCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.zero88.exceptions.ErrorCodeException
getCause, getMessage
-
-
-
-
Constructor Detail
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(@NotNull @NotNull ErrorCode code, java.lang.String message, java.lang.Throwable e)
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(ErrorCode code, java.lang.String message)
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(ErrorCode code, java.lang.Throwable e)
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(java.lang.String message, java.lang.Throwable e)
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(java.lang.String message)
-
RuntimeErrorCodeException
public RuntimeErrorCodeException(java.lang.Throwable e)
-
RuntimeErrorCodeException
protected RuntimeErrorCodeException(ErrorCode errorCode)
-
-
Method Detail
-
errorCode
@NotNull public @NotNull ErrorCode errorCode()
Description copied from interface:ErrorCodeExceptionReturn error code- Specified by:
errorCodein interfaceErrorCodeException- Returns:
- error code
- See Also:
ErrorCode
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-