com.io7m.r2.core

## Class R2Exception

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.io7m.r2.core.R2Exception

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    R2ExceptionBadTextureFormat, R2ExceptionBadTextureSize, R2ExceptionIO, R2ExceptionShaderPreprocessingFailed, R2ExceptionShaderValidationFailed, R2RendererException

      public abstract class R2Exception
      extends RuntimeException

  The type of exceptions.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `R2Exception(String message)` Construct an exception.
    `R2Exception(String message, Throwable cause)` Construct an exception.
    `R2Exception(Throwable cause)` Construct an exception.

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

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

- - ### Constructor Detail

    - #### R2Exception

          public R2Exception(Throwable cause)

      Construct an exception.
      Parameters:
        `cause` - The cause

    - #### R2Exception

          public R2Exception(String message)

      Construct an exception.
      Parameters:
        `message` - The message

    - #### R2Exception

          public R2Exception(String message,
                             Throwable cause)

      Construct an exception.
      Parameters:
        `message` - The message
        `cause` - The cause

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