com.hazelcast.client
Class GenericError

java.lang.Object
  extended by com.hazelcast.client.GenericError
All Implemented Interfaces:
Portable

public final class GenericError
extends Object
implements Portable


Constructor Summary
GenericError()
           
GenericError(String name, String message, int type)
           
GenericError(String name, String message, String details, int type)
           
 
Method Summary
 int getClassId()
           
 String getDetails()
           
 int getFactoryId()
           
 String getMessage()
           
 String getName()
           
 int getType()
           
 void readPortable(PortableReader reader)
           
 String toString()
           
 void writePortable(PortableWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericError

public GenericError()

GenericError

public GenericError(String name,
                    String message,
                    int type)

GenericError

public GenericError(String name,
                    String message,
                    String details,
                    int type)
Method Detail

getFactoryId

public int getFactoryId()
Specified by:
getFactoryId in interface Portable

getClassId

public int getClassId()
Specified by:
getClassId in interface Portable

getName

public String getName()

getMessage

public String getMessage()

getDetails

public String getDetails()

getType

public int getType()

writePortable

public void writePortable(PortableWriter writer)
                   throws IOException
Specified by:
writePortable in interface Portable
Throws:
IOException

readPortable

public void readPortable(PortableReader reader)
                  throws IOException
Specified by:
readPortable in interface Portable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.