Package net.sf.joafip.store.service.classinfo

Examples of net.sf.joafip.store.service.classinfo.ClassInfoException


          stringBuilder.append(',');
        }
        stringBuilder.append(mode);
        first = false;
      }
      throw new ClassInfoException(stringBuilder.toString(),
          creationTrace);
    }
    if ((storeSerializeAndGZippedInOneRecord
        || storeSerializeAndZippedInOneRecord || storeSerializeInOneRecord)
        && !serializable) {
      throw new ClassInfoException(objectClass + " is not serializable",
          creationTrace);
    }
  }
View Full Code Here


    final DeclaredFields declaredFields;
    try {
      declaredFields = helperReflect.declaredFieldsByReflection(
          objectClass, classInfoFactory);
    } catch (ReflectException exception) {
      throw new ClassInfoException(exception);
    }

    final List<FieldInfo> instanceFactoryFieldList = new LinkedList<FieldInfo>();
    fields = declaredFields.getNotStaticNotTransientFieldInfoList();
    allDeclaredNotTransientFields = toFieldArray(fields,
View Full Code Here

          } catch (NoSuchFieldException exception) {
            fieldInfo = new FieldInfoForSerialization(this,// NOPMD
                fieldName, type,// NOPMD
                exception);
          } catch (ReflectException exception) {
            throw new ClassInfoException(exception);
          }
          serialPersistentFieldsMap.put(fieldName, fieldInfo);
          serialPersistentFieldsList.add(fieldInfo);
        }
        serialPersistentFieldsInfo = new FieldInfo[serialPersistentFieldsList
View Full Code Here

    return objectClass == null;
  }

  public void setIsKnownAsNotExisting() throws ClassInfoException {
    if (classExists()) {
      throw new ClassInfoException("class " + name + " exists");
    }
    knownAsNotExisting = true;
  }
View Full Code Here

      objectOutput = EnumObjectOutput.OBJECT_OUTPUT_SPECIFIC;
    } else if (isArrayType()) {
      lazyObjectInput = objectInput = EnumObjectInput.OBJECT_INPUT_ARRAY;
      objectOutput = EnumObjectOutput.OBJECT_OUTPUT_ARRAY;
    } else if (isPrimitiveType()) {
      throw new ClassInfoException("no object IO for primitive",
          creationTrace);
    } else if (isEnumType()) {
      lazyObjectInput = objectInput = EnumObjectInput.OBJECT_INPUT_ENUM;
      objectOutput = EnumObjectOutput.OBJECT_OUTPUT_ENUM;
    } else if (isBasicType()) {
View Full Code Here

        field = null;// NOPMD
      }
    } catch (NoSuchFieldException e) {
      field = null;// NOPMD
    } catch (Exception exception) {
      throw new ClassInfoException(exception);
    }
    if (field != null) {
      try {
        result = field.get(null);
      } catch (Exception exception) {
        throw new ClassInfoException(exception);
      }
    }
    return result;
  }
View Full Code Here

        try {
          replacementDef = conversionManager
              .replacementDefForClassByName(joafipReleaseId,
                  dataModelIdentifier, this);
        } catch (ConversionException exception) {
          throw new ClassInfoException(exception);
        }
        if (replacementDef == null) {
          replacementDef = EMPTY_LINKED_LIST;
        }
        byDataModelMap.put(dataModelIdentifier, replacementDef);
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.classinfo.ClassInfoException

Copyright © 2018 www.massapicom. 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.