Examples of ProviderException


Examples of org.efs.openreports.providers.ProviderException

        session.close();
      }
    }
    catch (HibernateException he)
    {
      throw new ProviderException(he);
    }
  }
View Full Code Here

Examples of org.efs.openreports.providers.ProviderException

    }
    catch (HibernateException he)
    {
      hibernateProvider.rollbackTransaction(tx);     

      throw new ProviderException(he.getMessage());
    }
    finally
    {
      hibernateProvider.closeSession(session);
    }
View Full Code Here

Examples of org.jboss.errai.ioc.client.api.ProviderException

        replyTo = ((ReplyTo) a).value();
      }
    }

    if (typeargs.length != 1) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Type at injection point must have exactly" +
              " one type parameter. (found: " + typeargs.length + ")");
    }

    if (toSubject == null) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Required "
              + ToSubject.class.getName() + " qualifier missing at injection point.");
    }

    if (typeargs.length != 1) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Type at injection point must have exactly" +
              " one type parameter. (found: " + typeargs.length + ")");
    }

    return ErraiMessageSender.of(toSubject, replyTo, ErraiBus.get());
  }
View Full Code Here

Examples of org.jboss.errai.ioc.client.api.ProviderException

        replyTo = ((ReplyTo) a).value();
      }
    }

    if (typeargs.length != 1) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Type at injection point must have exactly" +
              " one type parameter. (found: " + typeargs.length + ")");
    }

    if (toSubject == null) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Required "
              + ToSubject.class.getName() + " qualifier missing at injection point.");
    }

    if (typeargs.length != 1) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Type at injection point must have exactly" +
              " one type parameter. (found: " + typeargs.length + ")");
    }

    return ErraiMessageSender.of(toSubject, replyTo, ErraiBus.get());
  }
View Full Code Here

Examples of org.jboss.errai.ioc.client.api.ProviderException

        replyTo = ((ReplyTo) a).value();
      }
    }

    if (toSubject == null) {
      throw new ProviderException(PROVIDER_EXCEPTION_ERROR_MSG_BASE + ": Required "
              + ToSubject.class.getName() + " qualifier missing at injection point.");
    }

    return ErraiMessageSender.of(toSubject, replyTo, bus);
  }
View Full Code Here

Examples of org.jredis.ProviderException

          }
        }
       
        // This shouldn't happen -- but lets make sure, hey?
        if(i>=connCount)
          throw new ProviderException("BUG: JRedisService connection pool manager - index exceeds bounds!");
       
        response = conns[i].serviceRequest(cmd, args);
      }
      finally {
        // return the connection to the pool
        synchronized(connInUse){
          if(connInUse[i] != true)
            throw new ProviderException("BUG: JRedisService connection pool manager - connection should have been marked in use!");
          connInUse[i] = false;
        }
       
        // release the bounds sem.
        connPoolAccess.release();
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.