- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jdk.incubator.sql2.SqlException
-
- jdk.incubator.sql2.SqlSkippedException
-
- All Implemented Interfaces:
java.io.Serializable
public class SqlSkippedException extends SqlException
ASqlException
that is used to complete anOperation
when thatOperation
is skipped. If anOperation
is skipped theOperation
is removed from the head of the queue, no work is sent to the database and theCompletionStage
of thatOperation
is completed exceptionally with aSqlSkippedException
. The cause of theSqlSkippedException
is theThrowable
that caused theOperation
to be skipped, if any.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqlSkippedException(java.lang.String message, java.lang.Throwable cause, java.lang.String sqlState, int vendorCode, java.lang.String sql, int position)
SqlSkippedException(java.lang.Throwable cause)
SqlSkippedException(SqlException cause)
-
Method Summary
-
Methods inherited from class jdk.incubator.sql2.SqlException
getPosition, getSqlState, getSqlString, getVendorCode
-
-
-
-
Constructor Detail
-
SqlSkippedException
public SqlSkippedException(java.lang.String message, java.lang.Throwable cause, java.lang.String sqlState, int vendorCode, java.lang.String sql, int position)
- Parameters:
message
-cause
-sqlState
-vendorCode
-sql
-position
-
-
SqlSkippedException
public SqlSkippedException(SqlException cause)
- Parameters:
cause
-
-
SqlSkippedException
public SqlSkippedException(java.lang.Throwable cause)
- Parameters:
cause
-
-
-