jremote jbase5.2.1

com.jbase.jremote.io
Class ErrorResponse

java.lang.Object
  extended by com.jbase.jremote.io.Response
      extended by com.jbase.jremote.io.ErrorResponse
All Implemented Interfaces:
JBaseSerializable

public class ErrorResponse
extends Response


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jbase.jremote.io.JBaseSerializable
JBaseSerializable.TYPE
 
Constructor Summary
ErrorResponse()
           
 
Method Summary
 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()

jremote jbase5.2.1

Copyright © 2016 TEMENOS. All Rights Reserved.