|
jGCS Documentation | |||||||||
| 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.io.IOException
net.sf.jgcs.JGCSException
public class JGCSException
This class defines a JGCSException.
| Constructor Summary | |
|---|---|
JGCSException()
Creates a new JGCSException. |
|
JGCSException(java.lang.String s)
Creates a new JGCSException. |
|
JGCSException(java.lang.String s,
int code)
Creates a new JGCSException. |
|
JGCSException(java.lang.String s,
java.lang.Throwable cause)
Creates a new JGCSException. |
|
JGCSException(java.lang.String s,
java.lang.Throwable cause,
int code)
Creates a new JGCSException. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Gets the throwable that caused this exception. |
int |
getErrorCode()
Gets the error code that identifies the error ocurred. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, 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 JGCSException()
public JGCSException(java.lang.String s)
s - the error message.
public JGCSException(java.lang.String s,
java.lang.Throwable cause)
s - the error message.cause - the throwable that caused this exception.
public JGCSException(java.lang.String s,
int code)
s - the error message.code - the error code.
public JGCSException(java.lang.String s,
java.lang.Throwable cause,
int code)
s - the error messagecause - the throwable that caused this exception.code - the error code| Method Detail |
|---|
public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic int getErrorCode()
|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||