Examples of FatalError


Examples of com.arjuna.ats.arjuna.exceptions.FatalError

    {
        jtsLogger.loggerI18N.warn("com.arjuna.ats.jts.thread.resumefailed",
                new Object[] { "OTSThread.run", e} );
    }

    throw new FatalError("OTSThread.run - "+jtsLogger.logMesg.getString("com.arjuna.ats.jts.thread.resumefailederror"+e), e);
      }

      _currentControl = null;
  }
    }
View Full Code Here

Examples of com.arjuna.orbportability.exceptions.FatalError

                    if (opLogger.loggerI18N.isWarnEnabled())
                    {
                        opLogger.loggerI18N.warn("com.arjuna.orbportability.OA.caughtexception",new Object[] {"OA.initPOA", e.toString()});
                    }

        throw new FatalError(e.toString());
    }

    parseProperties(args, false);

                performPostInit(_oaName);
      }
      else
      {
                if (opLogger.loggerI18N.isFatalEnabled())
                {
                    opLogger.loggerI18N.fatal("com.arjuna.orbportability.OA.uninitialsedorb");
                }

    throw new FatalError( opLogger.logMesg.getString("com.arjuna.orbportability.OA.uninitialsedorb") );
      }
  }
    }
View Full Code Here

Examples of com.arjuna.orbportability.exceptions.FatalError

                                "com.arjuna.orbportability.OA.caughtexception",
                                new Object[]
                                { "OA.initPOA", e.toString() });
                    }
                   
                   throw new FatalError("OA.initPOA: "+e.toString());
                }

                parseProperties(args, false);

                performPostInit(_oaName);
            }
            else
            {
                if (opLogger.loggerI18N.isFatalEnabled())
                {
                    opLogger.loggerI18N
                            .fatal("com.arjuna.orbportability.OA.uninitialsedorb");
                }

                throw new FatalError(
                        opLogger.logMesg
                                .getString("com.arjuna.orbportability.OA.uninitialsedorb"));
            }
        }
    }
View Full Code Here

Examples of com.sun.tools.javac.util.FatalError

        if (processorClassLoader != null && processorClassLoader instanceof Closeable) {
            try {
                ((Closeable) processorClassLoader).close();
            } catch (IOException e) {
                JCDiagnostic msg = diags.fragment("fatal.err.cant.close.loader");
                throw new FatalError(msg, e);
            }
        }
    }
View Full Code Here

Examples of org.jboss.soa.esb.FatalError

      }
      catch (LoadPropertiesException ex)
      {
        _logger.fatal("ModulePropertyManager failed to load property file "+propertiesFilename);
       
        throw new FatalError(ex);
      }
      catch (ClassNotFoundException e)
      {
        // something seriously wrong; better to terminate.
       
        _logger.fatal("ModulePropertyManager failed to load XML plugin", e);
       
        throw new FatalError(e);
      }
 
      return propertyManager;
    }
    catch (Exception e)
    {
      // something seriously wrong; better to terminate.
     
      _logger.fatal("ModulePropertyManager failed to load PropertyManager", e);
     
      throw new FatalError(e);
    }
  }
View Full Code Here

Examples of org.papoose.core.FatalError

        this.root = root;

        if (!root.exists())
        {
            if (!root.mkdirs()) throw new FatalError("Unable to create non-existant root: " + root);
            save();
        }
        else
        {
            load();
        }

        File bundlesRoot = new File(root, BUNDLES_DIR);
        if (!bundlesRoot.exists() && !bundlesRoot.mkdirs()) throw new FatalError("Unable to create bundles root: " + bundlesRoot);

        if (LOGGER.isLoggable(Level.CONFIG)) LOGGER.config("root: " + root);

        LOGGER.exiting(CLASS_NAME, "FileStore");
    }
View Full Code Here

Examples of org.papoose.core.FatalError

    {
        LOGGER.entering(CLASS_NAME, "obtainSystemBundleStore");

        File bundleRoot = new File(root, SYSTEM_DIR);

        if (!bundleRoot.exists() && !bundleRoot.mkdirs()) throw new FatalError("Unable to create bundle store location: " + bundleRoot);

        BundleStore result = new BundleTmpFileMemoryStore(bundleRoot, 0, Constants.SYSTEM_BUNDLE_LOCATION);

        LOGGER.exiting(CLASS_NAME, "obtainSystemBundleStore", result);
View Full Code Here

Examples of org.papoose.core.FatalError

        properties.setProperty(GENERATION_KEY + bundleId, "-1");

        save();

        if (bundleRoot.exists()) throw new BundleException("Bundle store location " + bundleRoot + " already exists");
        if (!bundleRoot.mkdirs()) throw new FatalError("Unable to create bundle store location: " + bundleRoot);

        BundleStore result = new BundleTmpFileMemoryStore(bundleRoot, bundleId, location);

        LOGGER.exiting(CLASS_NAME, "allocateBundleStore", result);
View Full Code Here

Examples of org.papoose.core.FatalError

            save();
        }
        catch (NumberFormatException nfe)
        {
            LOGGER.log(Level.SEVERE, "Unable to obtain last generation", nfe);
            throw new FatalError("Unable to obtain last generation", nfe);
        }

        LOGGER.exiting(CLASS_NAME, "allocateArchiveStore", result);

        return result;
View Full Code Here

Examples of org.papoose.core.FatalError

            properties.load(new FileInputStream(new File(this.root, PROPERTIES_FILE)));
        }
        catch (IOException ioe)
        {
            LOGGER.log(Level.SEVERE, "Unable to load bundle store state", ioe);
            throw new FatalError("Unable to save bundle store state", ioe);
        }

        LOGGER.exiting(CLASS_NAME, "load");
    }
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.