Class H3Exception

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.uber.h3core.exceptions.H3Exception
All Implemented Interfaces:
java.io.Serializable

public class H3Exception
extends java.lang.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 java.lang.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • H3Exception

      public H3Exception​(int code)
  • Method Details

    • getCode

      public int getCode()
    • codeToMessage

      public static java.lang.String codeToMessage​(int code)