Package org.jboss.util

Examples of org.jboss.util.NestedRuntimeException


         }
         catch (PrivilegedActionException e1)
         {
            Exception e = e1.getException();
            if (e instanceof NoSuchMethodException == false)
               throw new NestedRuntimeException(e);
         }

         info.setAdvisor(this);
         constructorInfos[i] = info;

         try
         {
            final String name = ConstructorExecutionTransformer.getConstructorInfoFieldName(getSimpleName(clazz), i);
            AccessController.doPrivileged(new PrivilegedExceptionAction<Object>()
            {
               public Object run() throws Exception
               {
                  Field infoField = clazz.getDeclaredField(name);
                  infoField.setAccessible(true);
                  infoField.set(null, new WeakReference<ConstructorInfo>(info));
                  return null;
               }
            });
         }
         catch (PrivilegedActionException e1)
         {
            Exception e = e1.getException();
            if (e instanceof NoSuchFieldException == false)
               throw new NestedRuntimeException(e);
         }
      }
   }
View Full Code Here


         }
      }
      catch (Exception e)
      {
         log.error(e);
         throw new NestedRuntimeException("JBossCacheSSOClusterManager.endTransaction(): ", e);
      }
   }
View Full Code Here

         }
      }
      catch (Exception e)
      {
         log.error(e);
         throw new NestedRuntimeException("JBossCacheSSOClusterManager.endTransaction(): ", e);
      }
   }
View Full Code Here

    public static HandleDelegate getDelegate() {
        try {
            final InitialContext ctx = new InitialContext();
            return (HandleDelegate) ctx.lookup("java:comp/HandleDelegate");
        } catch (NamingException e) {
            throw new NestedRuntimeException(e);
        }
    }
View Full Code Here

      {
         return Strings.toURI(getAsText());
      }
      catch (URISyntaxException e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

         return type;
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

            // remember the last seen exception
            pe = e;
         }
      }
      // couldn't parse
      throw new NestedRuntimeException(pe);
   }
View Full Code Here

      {
         return new File(getAsText()).getCanonicalFile();
      }
      catch (IOException e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

      {
         return Strings.toURI(getAsText());
      }
      catch (URISyntaxException e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

         return type;
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.util.NestedRuntimeException

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.