org.jafer.zclient.operations
Class PresentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.jafer.exception.JaferException
                    |
                    +--org.jafer.zclient.operations.PresentException
All Implemented Interfaces:
java.io.Serializable

public class PresentException
extends JaferException

Exception thrown if problems retrieving records

See Also:
Serialized Form

Field Summary
private  Diagnostic[] diagnostics
           
private  int numberOfRecordsReturned
           
private  int status
           
 
Fields inherited from class org.jafer.exception.JaferException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PresentException(int status, int numberOfRecordsReturned, Diagnostic[] diagnostics, java.lang.String message)
           
PresentException(int status, int numberOfRecordsReturned, java.lang.String message)
           
PresentException(int status, int numberOfRecordsReturned, java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 Diagnostic[] getDiagnostics()
           
 int getNumberOfRecordsReturned()
           
 int getStatus()
           
 boolean hasDiagnostics()
           
 
Methods inherited from class org.jafer.exception.JaferException
getDiagnostic, hasDiagnostic
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

private int status

numberOfRecordsReturned

private int numberOfRecordsReturned

diagnostics

private Diagnostic[] diagnostics
Constructor Detail

PresentException

public PresentException(int status,
                        int numberOfRecordsReturned,
                        Diagnostic[] diagnostics,
                        java.lang.String message)

PresentException

public PresentException(int status,
                        int numberOfRecordsReturned,
                        java.lang.String message)

PresentException

public PresentException(int status,
                        int numberOfRecordsReturned,
                        java.lang.String message,
                        java.lang.Throwable cause)
Method Detail

getStatus

public int getStatus()

getNumberOfRecordsReturned

public int getNumberOfRecordsReturned()

getDiagnostics

public Diagnostic[] getDiagnostics()

hasDiagnostics

public boolean hasDiagnostics()