Package com.uber.h3core.exceptions
Class H3Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.uber.h3core.exceptions.H3Exception
- All Implemented Interfaces:
Serializable
public class H3Exception extends RuntimeException
An exception from the H3 core library.
The error code contained in an H3Exception comes from the H3 core library. The H3 documentation contains a table of error codes.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description H3Exception(int code)
-
Method Summary
Modifier and Type Method Description static String
codeToMessage(int code)
int
getCode()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
H3Exception
public H3Exception(int code)
-
-
Method Details
-
getCode
public int getCode() -
codeToMessage
-