|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.cafesoft.core.exception.NestedException
|
+--com.cafesoft.core.message.ConnectionException
Thrown when an error occurs on the connection.
| Field Summary | |
protected Connection |
connection
The connection that caused the exception |
| Constructor Summary | |
ConnectionException()
Construct a new ConnectionException with no other information. |
|
ConnectionException(String message)
Construct a new ConnectionException for the specified message. |
|
ConnectionException(String message,
Connection connection)
Construct a new ConnectionException for the specified message and connection. |
|
ConnectionException(String message,
Throwable cause,
Connection connection)
Construct a new ConnectionException for the specified message throwable, and connection |
|
ConnectionException(Throwable throwable)
Construct a new ConnectionException for the specified throwable. |
|
ConnectionException(Throwable cause,
Connection connection)
Construct a new ConnectionException for the specified throwable and connection. |
|
| Method Summary | |
Connection |
getConnection()
Returns the connection that the exception was thrown for. |
| Methods inherited from class com.cafesoft.core.exception.NestedException |
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Connection connection
| Constructor Detail |
public ConnectionException()
public ConnectionException(String message)
message - message describing this exception
public ConnectionException(String message,
Connection connection)
message - message describing this exceptionconnection - the connection the exception was thrown onpublic ConnectionException(Throwable throwable)
throwable - throwable that caused this exception
public ConnectionException(Throwable cause,
Connection connection)
cause - throwable that caused this exceptionconnection - the connection the exception was thrown on
public ConnectionException(String message,
Throwable cause,
Connection connection)
message - message describing this exceptioncause - throwable that caused this exceptionconnection - the connection the exception was thrown on| Method Detail |
public Connection getConnection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||