DiagnosedStreamCorruptionException(Exception cause, Exception diagnoseFailure, byte[] readBack, byte[] readAhead) { initCause(cause); this.diagnoseFailure = diagnoseFailure; this.readBack = readBack; this.readAhead = readAhead; }
return new DiagnosedStreamCorruptionException(problem,diagnosisProblem,getRecord(),readAhead.toByteArray());