Examples of InvocationException


Examples of com.sun.enterprise.InvocationException

       */
      InvocationManager im = theSwitch.getInvocationManager();
      ComponentInvocation ci =  im.getCurrentInvocation();

      if (ci == null) {
    throw new InvocationException(); // 4646060
      }
      sc = ci.getOldSecurityContext();
           
  } else{
      // lets optimize a little. no need to look up oldsecctx
View Full Code Here

Examples of com.sun.jdi.InvocationException

    super(msg, th);
    if (th instanceof EvaluateException) {
      myTargetException = ((EvaluateException)th).getExceptionFromTargetVM();
    }
    else if(th instanceof InvocationException){
      InvocationException invocationException = (InvocationException) th;
      myTargetException = invocationException.exception();
    }
    if (LOG.isDebugEnabled()) {
      LOG.debug(msg);
    }
  }
View Full Code Here

Examples of com.threerings.presents.server.InvocationException

            Integer.valueOf(target.getOid()));
        if (info == null) {
            log.warning("Have no occinfo for cluster target " +
                        "[where=" + where() + ", init=" + initiator.who() +
                        ", target=" + target.who() + "].");
            throw new InvocationException(INTERNAL_ERROR);
        }

        if (!info.isClusterable()) {
            throw new InvocationException(StageCodes.ERR_CANNOT_CLUSTER);
        }
    }
View Full Code Here

Examples of net.sf.crispy.InvocationException

            if ( e.getCause() != null )
            {
                t = e.getCause();
            }

            throw new InvocationException( "Error by execute service: " + lvStrService.toString() + " -- "
                    + t.getMessage(), t );
        }

        return ret;
    }
View Full Code Here

Examples of net.sf.crispy.InvocationException

        String lvClass = (String) pvPropertyMap.get( InvocationStrategy.CLASS_NAME );
        String lvMethod = (String) pvPropertyMap.get( InvocationStrategy.METHOD_NAME );

        if ( (lvClass == null) || (lvMethod == null) )
        {
            throw new InvocationException( "Error in the InvocationStrategy " + this.getClass().getName() + ". "
                    + "The class: " + lvClass + " and the method: " + lvMethod + " must be unequal null!" );
        }

        RemotingRequest request = new RemotingRequest();
        request.setClazz( lvClass );
View Full Code Here

Examples of net.sf.gilead.exception.InvocationException

      // No persistent property
      return false;
    }
    catch (Exception e)
    {
      throw new InvocationException(e);
    }
  }
View Full Code Here

Examples of net.sf.hibernate4gwt.exception.InvocationException

      // No persistent property
      return false;
    }
    catch (Exception e)
    {
      throw new InvocationException(e);
    }
  }
View Full Code Here

Examples of org.apache.cocoon.sitemap.InvocationException

            }

            this.getSAXConsumer().endElement("", "request-parameters", "request-parameters");
            this.getSAXConsumer().endDocument();
        } catch (SAXException e) {
            throw new InvocationException(e);
        }
    }
View Full Code Here

Examples of org.apache.cocoon.sitemap.InvocationException

    public static InvocationException getInvocationException(Throwable throwable) {
        if (throwable instanceof InvocationException) {
            return (InvocationException) throwable;
        }

        return new InvocationException(throwable);
    }
View Full Code Here

Examples of org.apache.tuscany.sca.binding.corba.impl.service.InvocationException

            logger.log(Level.WARNING, "XMLStreamException during handling invocation target exception", e);
        } catch (InvocationTargetException e) {
            OMElement omException = (OMElement)((FaultException)e.getCause()).getFaultInfo();
            try {
                WrappedSCAException wrappedException = new WrappedSCAException(omException.toStringWithConsume());
                InvocationException exception = new InvocationException(wrappedException);
                throw exception;
            } catch (XMLStreamException xmle) {
                logger.log(Level.WARNING, "XMLStreamException during handling invocation target exception", xmle);
            }
           
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.