Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

ErrorResponse (jremote API)

Class ErrorResponse


All Implemented Interfaces:
JBaseSerializable


public class ErrorResponse
extends Response

Nested Class Summary

  • Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable


Constructor Summary

Constructor and Description
ErrorResponse() 


Method Summary

Modifier and Type
Method and Description
String
getMessage()
Methods for non SQL code that expects a message and status.
SQLError
getSQLError() 
int
getStatus() 
int
getType() 
int
getVersion() 
void
readObject(JBaseObjectReader reader, int version) 
void
writeObject(JBaseObjectWriter writer, int version) 
  • Methods inherited from class java.lang.Object
    • clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


Constructor Detail

ErrorResponse

public ErrorResponse()




Method Detail

writeObject

public void writeObject(JBaseObjectWriter writer,
                        int version)
                 throws IOException
Throws:
IOException

readObject

public void readObject(JBaseObjectReader reader,
                       int version)
                throws IOException,
                       ClassNotFoundException
Throws:
IOException
ClassNotFoundException

getSQLError

public SQLError getSQLError()

getMessage

public String getMessage()
Methods for non SQL code that expects a message and status. New code should get the SQLError and then extract field from it.

getStatus

public int getStatus()

getType

public int getType()
Returns:
type id of the objects, used during the serialization

getVersion

public int getVersion()



Back to jREMOTE API

Was this article helpful?