org.xiph.libshout
Class ShoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xiph.libshout.ShoutException
- All Implemented Interfaces:
- java.io.Serializable
public class ShoutException
- extends java.lang.Exception
libshout: org.xiph.libshout.ShoutException
- Author:
- andy
- See Also:
- Serialized Form
|
Constructor Summary |
ShoutException(java.lang.String message)
Constructor |
|
Method Summary |
static void |
assertOnError(int shoutResult,
Shout shout,
java.lang.String desc)
Throw a ShoutException if the given result is not successful. |
| 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 |
SHOUTERR_SUCCESS
public static final int SHOUTERR_SUCCESS
- See Also:
- Constant Field Values
SHOUTERR_NOERROR
public static final int SHOUTERR_NOERROR
- See Also:
- Constant Field Values
ShoutException
public ShoutException(java.lang.String message)
- Constructor
- Parameters:
message - exception message
assertOnError
public static void assertOnError(int shoutResult,
Shout shout,
java.lang.String desc)
throws ShoutException
- Throw a ShoutException if the given result is not successful.
- Parameters:
shoutResult - result of shout operationshout - item producing errordesc - description of operation
- Throws:
ShoutException