Package org.firebirdsql.gds.ng
Class InfoTruncatedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- java.sql.SQLNonTransientException
-
- org.firebirdsql.gds.ng.InfoTruncatedException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public class InfoTruncatedException extends java.sql.SQLNonTransientException
Thrown to indicate that an info request buffer was truncated (isc_info_truncated
).Implementations of
InfoProcessor
may throw this exception if they cannot recover themselves from truncation. The length of the truncated buffer is reported inlength()
; this is the actual length, not the requested length.This is a subclass of
SQLNonTransientException
as retrying the operation without taking corrective action will likely result in the same error.- Since:
- 5.0.2
- Author:
- Mark Rotteveel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InfoTruncatedException(java.lang.String message, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
length()
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-