org.basex.io.serial
Class SerializerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.basex.io.serial.SerializerException
All Implemented Interfaces:
java.io.Serializable

public final class SerializerException
extends java.io.IOException

This class indicates exceptions during the serialization of a query. This exception contains a QueryException, which can later be unwrapped.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen
See Also:
Serialized Form

Constructor Summary
SerializerException(QueryException qe)
          Default constructor.
 
Method Summary
 QueryException getCause()
           
 QueryException getCause(InputInfo info)
          Returns the query exception.
 java.lang.String getLocalizedMessage()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializerException

public SerializerException(QueryException qe)
Default constructor.

Parameters:
qe - query exception
Method Detail

getCause

public QueryException getCause()
Overrides:
getCause in class java.lang.Throwable

getCause

public QueryException getCause(InputInfo info)
Returns the query exception.

Parameters:
info - input info
Returns:
query exception

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable