|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.linuxsampler.lscp.LSException
public class LSException
Thrown to indicate that LinuxSampler has returned an error message.
Constructor Summary | |
---|---|
LSException(int code,
java.lang.String msg)
Creates a new instance of LSException with the specified error code and detail message. |
|
LSException(int code,
java.lang.String msg,
java.lang.String details)
Creates a new instance of LSException with the specified error code and detail message. |
Method Summary | |
---|---|
int |
getCode()
Gets the numeric unique identifier of the error. |
java.lang.String |
getDetails()
Gets a detailed error report. |
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 |
---|
public LSException(int code, java.lang.String msg)
code
- Specifies the error code.msg
- Specifies the detail message.public LSException(int code, java.lang.String msg, java.lang.String details)
code
- Specifies the error code.msg
- Specifies the detail message.Method Detail |
---|
public int getCode()
public java.lang.String getDetails()
null
if there is no such.
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |