com.tibco.datagrid

## Class DataGridRuntimeException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.tibco.datagrid.DataGridRuntimeException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    DataGridInvalidArgumentException, DataGridOSException

      public class DataGridRuntimeException
      extends java.lang.RuntimeException

  This is the base class of all ActiveSpaces data grid runtime exceptions.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DataGridRuntimeException()`
    `DataGridRuntimeException(java.lang.String message)`
    `DataGridRuntimeException(java.lang.String message, java.lang.Throwable cause)`
    `DataGridRuntimeException(java.lang.Throwable cause)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getErrorCode()` The error code is -1 unless the underlying library sets it.
    `void` | `setErrorCode(int code)`

    - ### 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

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### DataGridRuntimeException

          public DataGridRuntimeException()

    - #### DataGridRuntimeException

          public DataGridRuntimeException(java.lang.String message,
                                          java.lang.Throwable cause)

    - #### DataGridRuntimeException

          public DataGridRuntimeException(java.lang.String message)

    - #### DataGridRuntimeException

          public DataGridRuntimeException(java.lang.Throwable cause)

  - ### Method Detail

    - #### getErrorCode

          public int getErrorCode()

      The error code is -1 unless the underlying library sets it.
      Returns:
        integer value of the error code

    - #### setErrorCode

          public void setErrorCode(int code)