/** * Create a large object exception, naming the object that is too big. * * @param id * identity of the object that is too big to be loaded as a byte * array in this JVM. */ public LargeObjectException(AnyObjectId id) { setObjectId(id); }
byte[] getCachedBytes(RevObject obj, ObjectLoader ldr) throws LargeObjectException, MissingObjectException, IOException { try { return ldr.getCachedBytes(5 * MB); } catch (LargeObjectException tooBig) { tooBig.setObjectId(obj); throw tooBig; } }
/** * Create a large object exception, naming the object that is too big. * * @param id * identity of the object that is too big to be loaded as a byte * array in this JVM. */ public LargeObjectException(AnyObjectId id) { setObjectId(id); }
/** * Create a large object exception, naming the object that is too big. * * @param id * identity of the object that is too big to be loaded as a byte * array in this JVM. */ public LargeObjectException(AnyObjectId id) { setObjectId(id); }
byte[] getCachedBytes(RevObject obj, ObjectLoader ldr) throws LargeObjectException, MissingObjectException, IOException { try { return ldr.getCachedBytes(5 * MB); } catch (LargeObjectException tooBig) { tooBig.setObjectId(obj); throw tooBig; } }
byte[] getCachedBytes(RevObject obj, ObjectLoader ldr) throws LargeObjectException, MissingObjectException, IOException { try { return ldr.getCachedBytes(5 * MB); } catch (LargeObjectException tooBig) { tooBig.setObjectId(obj); throw tooBig; } }
byte[] getCachedBytes(RevObject obj, ObjectLoader ldr) throws LargeObjectException, MissingObjectException, IOException { try { return ldr.getCachedBytes(5 * MB); } catch (LargeObjectException tooBig) { tooBig.setObjectId(obj); throw tooBig; } }
tooBig.setObjectId(id.toObjectId()); throw tooBig;