Class InfoTruncatedException

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class InfoTruncatedException extends 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 in length(); 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:
  • Constructor Details

    • InfoTruncatedException

      public InfoTruncatedException(String message, int length)
  • Method Details

    • length

      public final int length()