Examples of InternalException


Examples of org.apache.axis.InternalException

            pd = MetaBeanUtils.processPropertyDescriptors(rawPd, javaType, typeDesc);
        }
        catch (Exception e)
        {
            // this should never happen
            throw new InternalException(e);
        }
        return pd;
    }
View Full Code Here

Examples of org.apache.empire.exceptions.InternalException

    }

    public ActionError(Throwable e)
    {
        // copy other error
        this(new InternalException(e));
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

                    defs[i] = new ClassDefinition(array[i],
                        classes.get(array[i]));
                inst.redefineClasses(defs);
            }
        } catch (NoSuchMethodException e) {
            throw new InternalException(e);
        } catch (IllegalAccessException e) {
            throw new InternalException(e);
        } catch (InvocationTargetException e) {
            throw new UserException(e.getCause());
        } catch (IOException e) {
            throw new InternalException(e);
        } catch (ClassNotFoundException e) {
            throw new InternalException(e);
        } catch (UnmodifiableClassException e) {
            throw new InternalException(e);
        } finally {
            if (inst != null && t != null)
                inst.removeTransformer(t);
        }
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

            enhancer.run();
            try {
                enhancer.record();
            } catch (IOException e) {
                // our impl of BytecodeWriter doesn't throw IOException
                throw new InternalException(e);
            }
        }

        if (unspecified != null && !unspecified.isEmpty())
            throw new UserException(_loc.get("unspecified-unenhanced-types",
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

                        el.getAnnotation(PersistentMap.class));
                    break;
                case TRANSIENT:
                    break;
                default:
                    throw new InternalException();
            }
        }

        if (isMappingOverrideMode() && lob)
            parseLobMapping(fmd);
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

        if (ro.value() == UpdateAction.RESTRICT)
            fmd.setUpdateStrategy(UpdateStrategies.RESTRICT);
        else if (ro.value() == UpdateAction.IGNORE)
            fmd.setUpdateStrategy(UpdateStrategies.IGNORE);
        else
            throw new InternalException();
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

            _templateBroker = (BrokerImpl) super.newInstance(clsName, type,
                conf, fatal);
        try {
            return _templateBroker.clone();
        } catch (CloneNotSupportedException e) {
            throw new InternalException(e);
        }
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

    public void pcCopyKeyFieldsToObjectId(FieldSupplier supplier, Object obj) {
        // This is only ever invoked against PCs in the PCRegistry. Such PCs
        // will always be enhanced types or subtypes of user types, and will
        // never be a ReflectingPersistenceCapable.
        throw new InternalException();
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

    public void pcCopyKeyFieldsFromObjectId(FieldConsumer consumer,
        Object obj) {
        // This is only ever invoked against PCs in the PCRegistry. Such PCs
        // will always be enhanced types or subtypes of user types, and will
        // never be a ReflectingPersistenceCapable.
        throw new InternalException();
    }
View Full Code Here

Examples of org.apache.openjpa.util.InternalException

            return val;

        for (int i = 0; i < _cols.length; i++)
            if (_cols[i] == col)
                return ((Object[]) val)[i];
        throw new InternalException();
    }
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.