|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
lameonj.LAMEOnJException
public class LAMEOnJException
The LAMEOnJException is the exception class used to throw errors
detected inside the LAMEOnJ library.
If a LAME method returns an non-null error code, this code is used to raise
this exception.
| Field Summary | |
|---|---|
protected int |
code
|
| Constructor Summary | |
|---|---|
LAMEOnJException(java.lang.String message)
Constructs a new exception with the specified detail message. |
|
LAMEOnJException(java.lang.String msg,
int code)
Constructs a new exception with the specified LAME error code. |
|
LAMEOnJException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
LAMEOnJException(java.lang.Throwable cause)
Constructs a new exception with the specified cause. |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the LAME error code. |
| 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 |
| Field Detail |
|---|
protected int code
| Constructor Detail |
|---|
public LAMEOnJException(java.lang.String message)
message - the detail message.
public LAMEOnJException(java.lang.String message,
java.lang.Throwable cause)
message - the detail message.cause - the cause.public LAMEOnJException(java.lang.Throwable cause)
cause - the cause.
public LAMEOnJException(java.lang.String msg,
int code)
msg - explanation message.getCode()| Method Detail |
|---|
public int getCode()
LAMEOnJException(String,int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||