Package org.basex.query
Class QueryIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.basex.query.QueryIOException
-
- All Implemented Interfaces:
Serializable
public final class QueryIOException extends IOException
This class indicates exceptions during the I/O operations of a query. The exception contains aQueryException
, which can later be unwrapped.- Author:
- BaseX Team 2005-22, BSD License, Christian Gruen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryIOException(QueryException cause)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryException
getCause()
QueryException
getCause(InputInfo ii)
Returns the query exception.String
getLocalizedMessage()
String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
QueryIOException
public QueryIOException(QueryException cause)
Default constructor.- Parameters:
cause
- query exception
-
-
Method Detail
-
getCause
public QueryException getCause()
-
getCause
public QueryException getCause(InputInfo ii)
Returns the query exception.- Parameters:
ii
- input info- Returns:
- query exception
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-