Awake SQL v1.2.1

org.awakefw.commons.api.client
Class RemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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 ?
 
Method Summary
 String getRemoteStackTrace()
          Returns the remote stack trace as a display string.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getRemoteStackTrace

public String getRemoteStackTrace()
Returns the remote stack trace as a display string.

Returns:
the remote Stack Trace as a display string

Awake SQL v1.2.1

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