org.basex.core
Class BaseXException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.basex.core.BaseXException
- All Implemented Interfaces:
- java.io.Serializable
public final class BaseXException
- extends java.io.IOException
Database exception, extending the IOException
.
- Author:
- BaseX Team 2005-12, BSD License, Christian Gruen
- See Also:
- Serialized Form
Constructor Summary |
BaseXException(java.lang.Exception ex)
Constructs an exception from the specified exception instance. |
BaseXException(java.lang.String message,
java.lang.Object... ext)
Constructs an exception with the specified message and extension. |
Method Summary |
static java.lang.String |
message(java.lang.String text,
java.lang.Object[] ext)
Creates the error message from the specified text and extension array. |
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 |
BaseXException
public BaseXException(java.lang.String message,
java.lang.Object... ext)
- Constructs an exception with the specified message and extension.
- Parameters:
message
- message with optional placeholdersext
- optional message extension
BaseXException
public BaseXException(java.lang.Exception ex)
- Constructs an exception from the specified exception instance.
- Parameters:
ex
- exception
message
public static java.lang.String message(java.lang.String text,
java.lang.Object[] ext)
- Creates the error message from the specified text and extension array.
- Parameters:
text
- text message with optional placeholdersext
- info extensions
- Returns:
- argument