Package org.jboss.forge.furnace.exception

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


               }
            });
         }
         catch (Exception e)
         {
            throw new ContainerException("Could not get service of type [" + clazz + "] from addon [" + addon
                     + "]", e);
         }

      }
      return result;
View Full Code Here


                     }
                  }));
               }
               catch (Exception e)
               {
                  throw new ContainerException("Could not get services of type [" + clazz + "] from addon ["
                           + addon
                           + "]", e);
               }

            }
View Full Code Here

                     }
                  }
               }
               catch (Exception e)
               {
                  throw new ContainerException("Problems encountered during propagation of event [" + event
                           + "] with qualifiers [" + qualifiers + "]", e);
               }
         }
         else if (event instanceof InboundEvent)
         {
View Full Code Here

                  addon.getClassLoader(), delegate));
         return delegate;
      }
      catch (Exception e)
      {
         throw new ContainerException("Could not create instance of [" + type.getName() + "] through reflection.", e);
      }
   }
View Full Code Here

      {
         return type.newInstance();
      }
      catch (Exception e)
      {
         throw new ContainerException("Could not create instance of [" + type.getName() + "] through reflection.", e);
      }
   }
View Full Code Here

      {
         return (R) ClassLoaders.executeIn(addon.getClassLoader(), task);
      }
      catch (Exception e)
      {
         throw new ContainerException("Failed to enhance instance of [" + actualType + "] with proxy for ClassLoader ["
                  + addon.getClassLoader() + "]", e);
      }
   }
View Full Code Here

      {
         return ClassLoaders.executeIn(addon.getClassLoader(), task);
      }
      catch (Exception e)
      {
         throw new ContainerException("Failed to get instance of [" + actualType + "] from addon [" + addon + "]", e);
      }
   }
View Full Code Here

         {
            Thread.sleep(10);
         }
         catch (InterruptedException e)
         {
            throw new ContainerException("Interrputed while waiting for STARTED state.", 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

         });
      }
      catch (Exception e)
      {
         throw new ContainerException("Failed to create proxy for type [" + delegateType + "]", e);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.forge.furnace.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.