public class VirtuosoException
extends java.sql.SQLException
All classes can thrown a such exception.
SQLException,
Serialized Form| Modifier and Type | Field | Description |
|---|---|---|
static int |
BADFORMAT |
This error code is returned if a user input should be a numeric, but he not entered one.
|
static int |
BADLOGIN |
Bad login.
|
static int |
BADPARAM |
Bad parameters given to the function.
|
static int |
BADTAG |
Error occurred on a DV tag.
|
static int |
CASTERROR |
Cast error occurred on an object.
|
static int |
CLOSED |
Error occurred when a function is called in a class which is previously closed.
|
static int |
DISCONNECTED |
The client is not connected to the database or the DBMS disconnected it.
|
static int |
EOF |
Error returned when a end of stream is reached.
|
static int |
ERRORONTYPE |
Error occurred when a method is not compatible with the type.
|
static int |
ILLJDBCURL |
The JDBC url given is not valid.
|
static int |
IOERROR |
An I/O error occurred due to a communication problem on the socket layer.
|
static int |
MISCERROR |
Returned when a trivial error occurred.
|
static int |
NOLICENCE |
Error returned when your license is not valid.
|
static int |
NOTIMPLEMENTED |
Method launched is not implemented yet.
|
static int |
OK |
The operation ran with success.
|
static int |
SQLERROR |
Error code which represents a SQL error done by the Virtuoso DBMS.
|
static int |
TIMEOUT |
Time out detected during a query.
|
static int |
UNKNOWN |
Returned when an unknown error is occurred.
|
| Constructor | Description |
|---|---|
VirtuosoException(java.lang.Exception e,
int vendor) |
Constructs a VirtuosoException based on some odd exception.
|
VirtuosoException(java.lang.Exception e,
java.lang.String data,
int vendor) |
|
VirtuosoException(java.lang.String data,
int vendor) |
Constructs a VirtuosoException based on an error occurred from Virtuoso.
|
VirtuosoException(java.lang.String data,
java.lang.String sqlstate,
int vendor) |
Constructs a VirtuosoException based on an error occurred from Virtuoso
and an SQL state.
|
public static final int OK
public static final int DISCONNECTED
public static final int ILLJDBCURL
jdbc:virtuoso://host:port, orjdbc:virtuoso://host:port/UID=username/PWD=userpassword
public static final int IOERROR
public static final int BADPARAM
public static final int BADLOGIN
public static final int TIMEOUT
public static final int NOTIMPLEMENTED
public static final int SQLERROR
public static final int BADTAG
public static final int CASTERROR
public static final int BADFORMAT
public static final int ERRORONTYPE
public static final int CLOSED
public static final int EOF
public static final int NOLICENCE
public static final int UNKNOWN
public static final int MISCERROR
public VirtuosoException(java.lang.String data,
int vendor)
data - The error message.vendor - The error code vendor.public VirtuosoException(java.lang.Exception e,
java.lang.String data,
int vendor)
public VirtuosoException(java.lang.String data,
java.lang.String sqlstate,
int vendor)
data - The error message.sqlstate - The SQL state of the error.vendor - The error code vendor.public VirtuosoException(java.lang.Exception e,
int vendor)
e - The exception that caused this to be thrown.vendor - The error code vendor.