Examples of MetaDataPopulateException


Examples of org.apache.axis2.rmi.exception.MetaDataPopulateException

                    if (rmiBeanType != null) {
                        this.type = (Type) rmiBeanType.newInstance();
                        processedTypeMap.put(baseClass, this.type);
                        this.type.populateMetaData(configurator, processedTypeMap);
                    } else {
                        throw new MetaDataPopulateException("there is no type class for rmi class "
                                + baseClass.getName());
                    }
                } catch (NoSuchMethodException e) {
                    throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                            " rmi bean class " + baseClass.getName());
                } catch (InvocationTargetException e) {
                    throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                            " rmi bean class " + baseClass.getName());
                }
            } else {
                this.type = new TypeImpl(baseClass);
                // we have to do this before calling to populate meta data
                // to avoid cirecular references
                processedTypeMap.put(baseClass, this.type);
                this.type.populateMetaData(configurator, processedTypeMap);
            }
        } catch (IllegalAccessException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.javaClass.getName(), e);
        } catch (InstantiationException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.javaClass.getName(), e);
        }
    }
View Full Code Here

Examples of org.apache.axis2.rmi.exception.MetaDataPopulateException

                    if (rmiBeanType != null) {
                        this.type = (Type) rmiBeanType.newInstance();
                        processedTypeMap.put(baseClass, this.type);
                        this.type.populateMetaData(configurator, processedTypeMap);
                    } else {
                        throw new MetaDataPopulateException("there is no type class for rmi class "
                                + baseClass.getName());
                    }
                } catch (NoSuchMethodException e) {
                    throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                    " rmi bean class " + baseClass.getName());
                } catch (InvocationTargetException e) {
                    throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                    " rmi bean class " + baseClass.getName());
                }

            } else {
                this.type = new TypeImpl(baseClass);
                processedTypeMap.put(baseClass, this.type);
                this.type.populateMetaData(configurator, processedTypeMap);
            }
        } catch (IllegalAccessException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.propertyDescriptor.getPropertyType().getName(), e);
        } catch (InstantiationException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.propertyDescriptor.getPropertyType().getName(), e);
        }
    }
View Full Code Here

Examples of org.apache.axis2.rmi.exception.MetaDataPopulateException

                        if (rmiBeanType != null) {
                            this.type = (Type) rmiBeanType.newInstance();
                            processedTypeMap.put(baseClass, this.type);
                            this.type.populateMetaData(configurator, processedTypeMap);
                        } else {
                            throw new MetaDataPopulateException("there is no type class for rmi class "
                                    + baseClass.getName());
                        }
                    } catch (NoSuchMethodException e) {
                        throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                                " rmi bean class " + baseClass.getName());
                    } catch (InvocationTargetException e) {
                        throw new MetaDataPopulateException("No getBeanClass method is not defined for " +
                                " rmi bean class " + baseClass.getName());
                    } catch (IllegalAccessException e) {
                        throw new MetaDataPopulateException("Can not invoke rmi bean class " +
                                baseClass.getName());
                    } catch (InstantiationException e) {
                        throw new MetaDataPopulateException("Can not instantiate RMI bean class " +
                                baseClass.getName());
                    }
                } else {
                    this.type = new TypeImpl(baseClass);
                    processedTypeMap.put(baseClass, this.type);
                    this.type.populateMetaData(configurator, processedTypeMap);
                }
            } else {
                throw new MetaDataPopulateException("Attribute element must have a known simpe type");
            }

        } else {
            throw new MetaDataPopulateException("Attribute element can not be an array type");
        }

    }
View Full Code Here

Examples of org.apache.axis2.rmi.exception.MetaDataPopulateException

                        this.elementFields.add(field);
                    }
                }
            }
        } catch (IntrospectionException e) {
            throw new MetaDataPopulateException(
                    "Error Occured while getting the Bean info of the class " + this.javaClass.getName(), e);
        }

    }
View Full Code Here

Examples of org.apache.axis2.rmi.exception.MetaDataPopulateException

                this.type = new TypeImpl(baseClass);
                processedTypeMap.put(baseClass, this.type);
                this.type.populateMetaData(configurator, processedTypeMap);
            }
        } catch (IllegalAccessException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.propertyDescriptor.getPropertyType().getName(), e);
        } catch (InstantiationException e) {
            throw new MetaDataPopulateException("Can not instataite class "
                    + this.propertyDescriptor.getPropertyType().getName(), e);
        }

    }
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.