com.jogamp.opengl.cg

## Class CgException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.jogamp.opengl.cg.CgException

- All Implemented Interfaces:
    Serializable

      public class CgException
      extends RuntimeException

  A generic exception for errors that occur throughout the NVidia Cg binding, as a substitute for `RuntimeException`.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CgException()` Constructs a CgException object.
    `CgException(String message)` Constructs a CgException object with the specified detail message.
    `CgException(String message, Throwable cause)` Constructs a CgException object with the specified detail message and root cause.
    `CgException(Throwable cause)` Constructs a CgException object with the specified root cause.

  - ### Method Summary

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

    - #### CgException

          public CgException()

      Constructs a CgException object.

    - #### CgException

          public CgException(String message)

      Constructs a CgException object with the specified detail message.

    - #### CgException

          public CgException(String message,
                     Throwable cause)

      Constructs a CgException object with the specified detail message and root cause.

    - #### CgException

          public CgException(Throwable cause)

      Constructs a CgException object with the specified root cause.

Copyright 2010 JogAmp Community.