org.awakefw.commons.api.client
Class RemoteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.awakefw.commons.api.client.RemoteException
- All Implemented Interfaces:
- Serializable
public class RemoteException
- extends IOException
Signals that an Exception has been thrown by a remote Awake method on the server.
- Since:
- 1.0
- See Also:
- Serialized Form
Constructor Summary |
RemoteException(String message,
Throwable cause,
String remoteStackTrace)
Constructs a new RemoteException with the specified cause and a
detail message of (cause==null ? |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RemoteException
public RemoteException(String message,
Throwable cause,
String remoteStackTrace)
- Constructs a new RemoteException with the specified cause and a
detail message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause). This
constructor is useful for exceptions that are little more than wrappers
for other throwables (for example,
PrivilegedActionException
).
- Parameters:
message
- The detail message (which is saved for later retrieval by the
Throwable.getMessage()
method)cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted, and
indicates that the cause is nonexistent or unknown.)remoteStackTrace
- the remote stack trace as string (null if none)
getRemoteStackTrace
public String getRemoteStackTrace()
- Returns the remote stack trace as a display string.
- Returns:
- the remote Stack Trace as a display string
Awake SQL - Virtual JDBC Driver over HTTP for Android, Swing and JavaFX
Android & Desktop Edition allow easy access to majors remote SQL databases with regular JDBC calls:
DB2 - H2 - HSQLDB (HyperSQL) - Informix - Ingres - MySQL - Oracle - PostgreSQL - SQL Server - Sybase - Teradata
Copyright © 2012 Kawan Softwares SAS