/** * Create a large object exception, where the object isn't known. * * @param cause * the cause * @since 4.10 */ public LargeObjectException(Throwable cause) { initCause(cause); }
/** * Create a large object exception, where the object isn't known. * * @param cause * the cause * @since 4.10 */ public LargeObjectException(Throwable cause) { initCause(cause); }
@Override public byte[] getCachedBytes() throws LargeObjectException { try { throw new LargeObjectException(getObjectId()); } catch (IOException cannotObtainId) { LargeObjectException err = new LargeObjectException(); err.initCause(cannotObtainId); throw err; } }