Examples of HeapRecordableException


Examples of net.sf.joafip.store.service.heaprecordable.HeapRecordableException

    AbstractConverter binaryConverter;
    try {
      binaryConverter = helperBinaryConversion.integerConverter;
      binaryConverter.fromBinary(binary, offset);
    } catch (BinaryConverterException exception) {
      throw new HeapRecordableException(exception);
    }
    if (!binaryConverter.valueDefinedFromBinary) {
      throw new HeapRecordableException(
          "class name identifier value must be defined");
    }
    classNameIdentifier = (Integer) binaryConverter.objectFromBinary;
    binaryConverter.objectFromBinary = null;// NOPMD
    offset += HelperBinaryConversion.INT_BYTE_SIZE;
    try {
      binaryConverter = helperBinaryConversion.nullableAndTypedReferenceConverter;
      binaryConverter.fromBinary(binary, offset);
    } catch (BinaryConverterException exception) {
      throw new HeapRecordableException(exception);
    }
    if (!binaryConverter.valueDefinedFromBinary) {
      throw new HeapRecordableException(
          "data record identifier value must be defined");
    }
    nextClassNameRecordDataRecordIdentifier = (DataRecordIdentifier)
    /**/binaryConverter.objectFromBinary;
    binaryConverter.objectFromBinary = null;// NOPMD
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.