Examples of ModelException


Examples of com.celexus.conniption.model.ModelException

    {
      client.start();
    }
    catch (Exception e)
    {
      throw new ModelException("Start HTTP Client", e);
    }
  }
View Full Code Here

Examples of com.sun.jdo.api.persistence.model.ModelException

   */
  public void setUpdateAction (int action) throws ModelException
  {
    if ((action < NONE_ACTION) || (action > AGGREGATE_ACTION))
    {
      throw new ModelException(I18NHelper.getMessage(getMessages(),
        "jdo.relationship.update_action_invalid", action))// NOI18N
    }

    getRelationshipImpl().setUpdateAction(action);
  }
View Full Code Here

Examples of com.sun.tools.internal.ws.processor.model.ModelException

        this.owner = owner;
    }

    public void add(JavaStructureMember m) {
        if (membersByName.containsKey(m.getName())) {
            throw new ModelException("model.uniqueness.javastructuretype",
                new Object[] {m.getName(), getRealName()});
        }
        members.add(m);
        membersByName.put(m.getName(), m);
    }
View Full Code Here

Examples of com.sun.tools.ws.processor.model.ModelException

        this.owner = owner;
    }

    public void add(JavaStructureMember m) {
        if (membersByName.containsKey(m.getName())) {
            throw new ModelException("model.uniqueness.javastructuretype",
                new Object[] {m.getName(), getRealName()});
        }
        members.add(m);
        membersByName.put(m.getName(), m);
    }
View Full Code Here

Examples of de.iritgo.aktera.model.ModelException

      return res;
    }
    catch (ConfigurationException x)
    {
      throw new ModelException(x);
    }
  }
View Full Code Here

Examples of de.iritgo.aktera.model.ModelException

      if (listingOutput != null)
      {
        return (ListingDescriptor) listingOutput.getContent();
      }

      throw new ModelException("[Listing] Unable to find listing model '" + modelName + "'");
    }
    catch (Exception x)
    {
      throw new ModelException("Listing: Unable to create listing from model " + modelName + " (" + x + ")");
    }
  }
View Full Code Here

Examples of de.iritgo.aktera.model.ModelException

        sortColumn = sortConfig.getValue(sortConfig.getAttribute("name", null));
      }

      if (listing.getColumn(sortColumn) == null)
      {
        throw new ModelException("Unknown column '" + sortColumn + "' in sort tag for listing '"
                + config.getAttribute("id") + "'");
      }

      listing.setSortColumn(sortColumn, sortOrder);
    }
View Full Code Here

Examples of de.iritgo.aktera.model.ModelException

      return starter;
    }
    catch (Exception x)
    {
      throw new ModelException("Exception loading starter (" + x + ")");
    }
  }
View Full Code Here

Examples of de.iritgo.aktera.model.ModelException

      return starter.execute(request);
    }
    catch (Exception x)
    {
      x.printStackTrace(System.err);
      throw new ModelException(x);
    }
  }
View Full Code Here

Examples of modTransf.model.ModelException

   {
     PropertyUtils.setProperty(bean, name, value);
   }
   catch(NoSuchMethodException ex)
   {
     throw new ModelException(ex);
   }
   catch(java.lang.IllegalArgumentException ex)
   { // Check if this is an enumeration
     try {
       setEnumProperty(bean, name, value.toString());
     }
     catch(ModelException ex2 )
     { // Throw surrounding exception
       //System.out.println("Fail to set '"+ bean.getClass().getName() +"." +name + "'='"+value+"' as enum:" + ex2);
       //ex2.printStackTrace();
       throw new ModelException(ex);
     }
     catch(InvalidNameException ex2 )
     { // Throw this exception
       //System.out.println("Fail to set '"+ bean.getClass().getName() +"." +name + "'='"+value+"' as enum:" + ex2);
       //ex2.printStackTrace();
       //throw new Error(ex2);
       throw new ModelException(ex2);
     }
   }
   catch(InvocationTargetException ex)
   {
     throw new ModelException(ex);
   }
   catch(IllegalAccessException ex)
   {
     throw new ModelException(ex);
   }

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