Package de.iritgo.aktera.model

Examples of de.iritgo.aktera.model.ModelException


              .setAttribute("forward", getConfiguration().getChild("forward").getValue(
                      "aktera.tools.progress-report"));
    }
    catch (IOException x)
    {
      throw new ModelException("[ProgressReport] " + x);
    }
    catch (ConfigurationException x)
    {
      throw new ModelException("[ProgressReport] " + x);
    }
    catch (NoSuchMethodException x)
    {
    }
    catch (IllegalAccessException x)
View Full Code Here


            }
          }
          catch (AuthorizationException e)
          {
            log.debug("Unable to acces user environment from context!");
            throw new ModelException("Unable to acces user environment from context!", e);
          }
        }
        else
        {
          log.debug("Unable to acces user environment from context!");
          throw new ModelException("Unable to acces user environment from context!");
        }
      }

      PersistentFactory persistentManager = (PersistentFactory) req.getService(PersistentFactory.ROLE, req
              .getDomain());

      Persistent keelUser = persistentManager.create("keel.user");

      keelUser.setField("uid", new Integer(uid));

      if (! keelUser.find())
      {
        ThreadedModel.sleep(3000);
        res.addError("notLoggedIn", "You are not logged in.");

        return res;
      }
    }
    catch (PersistenceException x)
    {
      log.error("Database Error", x);
      throw new ModelException("$databaseError", x);
    }
    catch (InterruptedException ie)
    {
    }
View Full Code Here

      addChildren(res, instrOutput, instrConfig);
      res.add(instrOutput);
    }
    catch (ConfigurationException ce)
    {
      throw new ModelException(ce);
    }
    catch (ContextException e)
    {
      throw new ModelException(e);
    }

    return res;
  }
View Full Code Here

          res.add(re.getValue());
        }
      }
      catch (ContextException x)
      {
        throw new ModelException(x);
      }
      catch (AuthorizationException x)
      {
        throw new ModelException(x);
      }
      catch (UIControllerException x)
      {
        throw new ModelException(x);
      }
    }

    if (forward == null)
    {
View Full Code Here

      //Do we need to create new SequenceContext here, or is the code OK as is?
    }
    catch (ClassCastException e)
    {
      throw new ModelException(e.getLocalizedMessage(), e);
    }
    catch (NullPointerException e)
    {
      sc = null;
    }
View Full Code Here

      return sc;
    }
    catch (ContextException e)
    {
      throw new ModelException(e.getLocalizedMessage(), e);
    }
    catch (ClassCastException e)
    {
      throw new ModelException(e.getLocalizedMessage(), e);
    }
    catch (NullPointerException e)
    {
      return null;
    }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.model.ModelException

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.