org.jafer.zserver.operations
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jafer.zserver.operations.OperationException
All Implemented Interfaces:
java.io.Serializable

public class OperationException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
private  z3950.v3.PDU pduDiagnostic
           
 
Constructor Summary
OperationException()
          Creates new OperationException with null as its detail message.
OperationException(java.lang.String message)
          Creates new OperationException with the specified detail message.
OperationException(java.lang.String message, z3950.v3.PDU pduDiagnostic)
           
OperationException(java.lang.String message, z3950.v3.PDU pduDiagnostic, java.lang.Throwable cause)
           
OperationException(java.lang.String message, java.lang.Throwable cause)
          Creates new OperationException with the specified detail message and cause
OperationException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) which typically contains the class and detail message of cause).
 
Method Summary
 z3950.v3.PDU getPDUDiagnostic()
           
 boolean hasPDUDiagnostic()
           
 
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

pduDiagnostic

private z3950.v3.PDU pduDiagnostic
Constructor Detail

OperationException

public OperationException()
Creates new OperationException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


OperationException

public OperationException(java.lang.String message)
Creates new OperationException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - the detail message.

OperationException

public OperationException(java.lang.String message,
                          java.lang.Throwable cause)
Creates new OperationException with the specified detail message and cause

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.

OperationException

public OperationException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) which typically contains the class and detail message of cause). This constructor is useful for exceptions that are little more than wrappers for other throwables

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.

OperationException

public OperationException(java.lang.String message,
                          z3950.v3.PDU pduDiagnostic)

OperationException

public OperationException(java.lang.String message,
                          z3950.v3.PDU pduDiagnostic,
                          java.lang.Throwable cause)
Method Detail

getPDUDiagnostic

public z3950.v3.PDU getPDUDiagnostic()

hasPDUDiagnostic

public boolean hasPDUDiagnostic()