java.lang.Object
java.lang.Throwable
java.lang.Exception
org.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 classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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().