Class ErrorSnitch
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----ErrorSnitch
- public class ErrorSnitch
- extends UnicastRemoteObject
- implements Snitch
RMI intermediary between the SQLWrapper and Client Applet to report Errors.
ErrorSnitch follows the SQLWrapper through it's methods, adding any parsing
(or other) errors to a Vector of "knownErrors" to return to the Client.
-
ErrorSnitch()
-
-
getErrors()
- Returns Vector of known errors
-
reportError(String)
- Adds error to Vector of known errors
ErrorSnitch
public ErrorSnitch() throws RemoteException
reportError
public void reportError(String error) throws RemoteException
- Adds error to Vector of known errors
getErrors
public Vector getErrors() throws RemoteException
- Returns Vector of known errors