com.io7m.jcanephora.core

## Class JCGLExceptionUnsupported

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.io7m.jcanephora.core.JCGLExceptionChecked
      - - com.io7m.jcanephora.core.JCGLExceptionUnsupported

- All Implemented Interfaces:
    Serializable

      public final class JCGLExceptionUnsupported
      extends JCGLExceptionChecked

  An exception indicating that the package cannot execute on the current context version.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JCGLExceptionUnsupported(JCGLVersionNumber v_exp, JCGLVersionNumber v_got)` Construct an exception.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `JCGLVersionNumber` | `getExpected()`
    `JCGLVersionNumber` | `getReceived()`

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

    - #### JCGLExceptionUnsupported

          public JCGLExceptionUnsupported(JCGLVersionNumber v_exp,
                                          JCGLVersionNumber v_got)

      Construct an exception.
      Parameters:
        `v_exp` - The expected (required) version
        `v_got` - The actual version received

  - ### Method Detail

    - #### getExpected

          public JCGLVersionNumber getExpected()

      Returns:
        The expected (required) OpenGL version

    - #### getReceived

          public JCGLVersionNumber getReceived()

      Returns:
        The received OpenGL version

Copyright © 2016 <code@io7m.com> http://io7m.com