Examples of InitializationException


Examples of be.pw999.jape.exceptions.InitializationException

            baseMap = (T) getParametrisedClass().newInstance();
            for (int i = 0; i < Settings.LIST_SIZE; ++i) {
                baseMap.put(TestUtils.getTestString(i), new Double(i));
            }
        } catch (InstantiationException e) {
            throw new InitializationException(e);
        } catch (IllegalAccessException e) {
            throw new InitializationException(e);
        }
    }
View Full Code Here

Examples of bitronix.tm.utils.InitializationException

                if (fis != null) fis.close();
            }

            return initXAResourceProducers(properties);
        } catch (IOException ex) {
            throw new InitializationException("cannot create resource loader", ex);
        }
    }
View Full Code Here

Examples of br.net.woodstock.rockframework.InitializationException

    super();
    this.map = new HashMap<String, StringFormat>();
    try {
      this.init();
    } catch (Exception e) {
      throw new InitializationException(e);
    }
  }
View Full Code Here

Examples of cero.games.InitializationException

  public void initializeRule(Game game) throws InitializationException {
    Round round = game.getRounds().get(0);
    if (round != null)
      round.addRoundListener(this);
    else
      throw new InitializationException("Can't find the expected Round");
  }
View Full Code Here

Examples of com.bacoder.scmtools.core.InitializationException

      command = new CloneAndProcessCommand(config);
      command.setProgressMonitor(config.getProgressMonitor());
      command.setURI(uri.toString());
      command.init();
    } catch (Throwable t) {
      throw new InitializationException("Unable to initialize Git repository " + uri, t);
    }
  }
View Full Code Here

Examples of com.haulmont.yarg.exception.InitializationException

            PoolingDataSource dataSource =
                    new PoolingDataSource(connectionPool);

            return dataSource;
        } catch (ClassNotFoundException e) {
            throw new InitializationException("An error occurred during creation of new datasource object", e);
        }
    }
View Full Code Here

Examples of com.opensymphony.oscache.base.InitializationException

            bus.start();
            bus.getChannel().setOpt(Channel.LOCAL, new Boolean(false));
            bus.setConsumer(this);
            log.info("JavaGroups clustering support started successfully");
        } catch (Exception e) {
            throw new InitializationException("Initialization failed: " + e);
        }
    }
View Full Code Here

Examples of com.thoughtworks.xstream.InitializationException

     * @param mapper to use
     * @since 1.4.5
     */
    protected JavaFieldConverter(final SingleValueConverter javaClassConverter, final Mapper mapper) {
        if (!javaClassConverter.canConvert(Class.class)) {
            throw new InitializationException("Java Class Converter cannot handle Class types");
        }
        this.javaClassConverter = javaClassConverter;
        this.mapper = mapper;
    }
View Full Code Here

Examples of com.thoughtworks.xstream.InitializationException

     * @param javaClassConverter the converter to use
     * @since 1.4.5
     */
    protected JavaMethodConverter(final SingleValueConverter javaClassConverter) {
        if (!javaClassConverter.canConvert(Class.class)) {
            throw new InitializationException("Java Class Converter cannot handle Class types");
        }
        this.javaClassConverter = javaClassConverter;
    }
View Full Code Here

Examples of com.thoughtworks.xstream.InitializationException

        addDefaultImplementation(Long.class, long.class);
    }

    public void addDefaultImplementation(final Class<?> defaultImplementation, final Class<?> ofType) {
        if (defaultImplementation != null && defaultImplementation.isInterface()) {
            throw new InitializationException("Default implementation is not a concrete class: "
                + defaultImplementation.getName());
        }
        typeToImpl.put(ofType, defaultImplementation);
        implToType.put(defaultImplementation, ofType);
    }
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.