com.marklogic.xdbc
Class XDBCRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.marklogic.xdbc.XDBCRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XDBCXQueryRuntimeException

public class XDBCRuntimeException
extends RuntimeException

An XDBCException provides information on a runtime exception that occurs during XDBC processing.

The information in the XDBCRuntimeException includes:

See Also:
Serialized Form

Constructor Summary
XDBCRuntimeException()
          Constructs an XDBCRuntimeException.
XDBCRuntimeException(String message)
          Constructs an XDBCRuntimeException with a specified message.
XDBCRuntimeException(String message, Throwable cause)
          Constructs an XDBCRuntimeException with a specified message and cause.
XDBCRuntimeException(XDBCException exception)
          Constructs an XDBCRuntimeException from an XDBCException.
 
Method Summary
 XDBCException getNextException()
          Retrieves the exception chained to this XDBCRuntimeException.
 void setNextException(XDBCException ex)
          Link this XDBCException to a specified other XDBCException
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XDBCRuntimeException

public XDBCRuntimeException()
Constructs an XDBCRuntimeException.


XDBCRuntimeException

public XDBCRuntimeException(String message)
Constructs an XDBCRuntimeException with a specified message.

Parameters:
message - the string specifying the exception condition

XDBCRuntimeException

public XDBCRuntimeException(String message,
                            Throwable cause)
Constructs an XDBCRuntimeException with a specified message and cause.

Parameters:
message - the string specifying the exception condition
cause - the throwable cause object for the exception

XDBCRuntimeException

public XDBCRuntimeException(XDBCException exception)
Constructs an XDBCRuntimeException from an XDBCException.

Parameters:
exception - the exception
Method Detail

getNextException

public XDBCException getNextException()
Retrieves the exception chained to this XDBCRuntimeException.

Returns:
the next XDBCException in this chain.

setNextException

public void setNextException(XDBCException ex)
Link this XDBCException to a specified other XDBCException

Parameters:
ex - the XDBCException to link this object to.

toString

public String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.