Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.libsdl
Class SDLException  view SDLException download SDLException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.libsdl.SDLException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SDLLibraryNotAvailableException

public class SDLException
extends java.lang.Exception

The SDLException is an exception type that is thrown whenever an SDL error occurs. In addition, it is used as the base class for other exception types such as SDLLibraryNotAvailableException.

Version:
$revision$

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SDLException(java.lang.String str)
          Constructs a new SDLException with an error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

SDLException

public SDLException(java.lang.String str)
Constructs a new SDLException with an error message. Typically, the error message will be something that the SDL library threw, most likely retrieved using SDL_GetError().