Package org.jboss.forge.container.exception

Examples of org.jboss.forge.container.exception.ContainerException


            Thread.sleep(10);
         }
      }
      catch (Exception e)
      {
         throw new ContainerException("Addon [" + addon + "]  was not started.", e);
      }
   }
View Full Code Here


            Thread.sleep(10);
         }
      }
      catch (Exception e)
      {
         throw new ContainerException("Addon [" + addon + "] was not stopped.", e);
      }
   }
View Full Code Here

      {
         throw re;
      }
      catch (Exception e)
      {
         throw new ContainerException("Addon [" + addon + "] was not started.", e);
      }
   }
View Full Code Here

      {
         throw re;
      }
      catch (Exception e)
      {
         throw new ContainerException("Addon [" + addon + "] was not stopped.", e);
      }
   }
View Full Code Here

      {
         throw e;
      }
      catch (Exception e)
      {
         throw new ContainerException("Error invoking Task within ClassLoader [" + loader + "]", e);
      }
      finally
      {
         SecurityActions.setContextClassLoader(original);
         if (log.isLoggable(Level.FINE))
View Full Code Here

      {
         return loader.loadClass(typeName);
      }
      catch (ClassNotFoundException e)
      {
         throw new ContainerException(e);
      }
   }
View Full Code Here

      {
         return loader.loadClass(type.getName());
      }
      catch (ClassNotFoundException e)
      {
         throw new ContainerException(e);
      }
   }
View Full Code Here

         Future<Void> future = registry.start(addonToDeploy);
         future.get();
         Addon addon = registry.getAddon(addonToDeploy);
         if (addon.getStatus().isFailed())
         {
            ContainerException e = new ContainerException("Addon " + addonToDeploy + " failed to deploy.");
            deployment.deployedWithError(e);
            throw e;
         }
      }
      catch (Exception e)
View Full Code Here

               return enhanceResult(thisMethod, result);
            }
            catch (Throwable e)
            {
               throw new ContainerException(
                        "Could not invoke proxy method [" + delegate.getClass().getName() + "."
                                 + thisMethod.getName() + "()] in ClassLoader ["
                                 + delegateLoader + "]", e);
            }
         }
View Full Code Here

         Class<Enum> callingType = (Class<Enum>) loader.loadClass(instance.getClass().getName());
         return Enum.valueOf(callingType, ((Enum) instance).name());
      }
      catch (ClassNotFoundException e)
      {
         throw new ContainerException(
                  "Could not enhance instance [" + instance + "] of type [" + instance.getClass() + "]", e);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.forge.container.exception.ContainerException

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.