Examples of fillInStackTrace()


Examples of javax.naming.NamingException.fillInStackTrace()

    CompositeName path = merge(contextPath, name);
    JndiReply reply = connection.invoke(
      new CreateSubcontextRequest(path));   
    if (reply instanceof JndiError) {
      NamingException exc = ((JndiError)reply).getException();
      exc.fillInStackTrace();
      throw exc;
    }
    return new NamingContextImpl(connection.cloneConnection(), path);
  }
View Full Code Here

Examples of javax.naming.NamingException.fillInStackTrace()

                       name + ')');
    JndiReply reply = connection.invoke(
      new DestroySubcontextRequest(merge(contextPath, name)));   
    if (reply instanceof JndiError) {
      NamingException exc = ((JndiError)reply).getException();
      exc.fillInStackTrace();
      throw exc;
    }
  }

  public String getNameInNamespace() throws NamingException {
View Full Code Here

Examples of javax.xml.parsers.ParserConfigurationException.fillInStackTrace()

        RemoteException t;
        try
          {
            Throwable cause = new ParserConfigurationException("Uje!");
            cause.initCause(new OutOfMemoryError("OOO!"));
            cause.fillInStackTrace();
            t = new RemoteException("Thrown remote AUDRIUS" + b, cause);

          }
        catch (Exception ex)
          {
View Full Code Here

Examples of junit.framework.AssertionFailedError.fillInStackTrace()

                ((InvocationMatcher)i.next()).verify();
            }
        }
        catch (AssertionFailedError error) {
            AssertionFailedError newError = new AssertionFailedError(error.getMessage() + "\n" + toString());
            newError.fillInStackTrace();
            throw newError;
        }
    }

    public void setName( String name ) {
View Full Code Here

Examples of modTransf.engine.TransformationException.fillInStackTrace()

      throw ex;
    }
    catch(Exception ex)
    { // Add trace
      TransformationException tex = new TransformationException(ex);
      tex.fillInStackTrace( this, args, "rule" );
      throw tex;
    }
  }

  /**
 
View Full Code Here

Examples of modTransf.engine.TransformationException.fillInStackTrace()

      catch( Exception ex )
       { // Add the stack trace.
         // This allow to have a list of the calls to the method.
         // This list is build only if an error occur.
       TransformationException tex = new TransformationException(ex);
       tex.fillInStackTrace( (Object)action, object, "action");
       throw tex;
       }

   return res;
   }
View Full Code Here

Examples of org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl.fillInStackTrace()

        LOG.debug("Call: " + method.getName() + " " + callTime);
      }
      if (response.hasIsError() && response.getIsError() == true) {
        YarnRemoteExceptionPBImpl exception = new YarnRemoteExceptionPBImpl(response.getException());
        exception.fillInStackTrace();
        ServiceException se = new ServiceException(exception);
        throw se;
      }
     
      Message prototype = null;
View Full Code Here

Examples of org.apache.uima.resource.ResourceInitializationException.fillInStackTrace()

          currentException = new ResourceInitializationException(
                  ResourceInitializationException.ERROR_INITIALIZING_FROM_DESCRIPTOR, new Object[] {
                      currentClass.getName(), aSpecifier.getSourceUrlString() }, t);
        } finally {
          if (currentException != null) {
            currentException.fillInStackTrace();
            // UIMAFramework.getLogger().logException(currentException);
            // store this exception
            lastException = currentException;
          }
        }
View Full Code Here

Examples of org.apache.uima.resource.ResourceInitializationException.fillInStackTrace()

          currentException = new ResourceInitializationException(
                  ResourceInitializationException.ERROR_INITIALIZING_FROM_DESCRIPTOR, new Object[] {
                      currentClass.getName(), aSpecifier.getSourceUrlString() }, t);
        } finally {
          if (currentException != null) {
            currentException.fillInStackTrace();
            // UIMAFramework.getLogger().logException(currentException);
            // store this exception
            lastException = currentException;
          }
        }
View Full Code Here

Examples of org.contikios.cooja.MoteType.MoteTypeCreationException.fillInStackTrace()

          try {
            compileProcess.waitFor();
          } catch (Exception e) {
            messageDialog.addMessage(e.getMessage(), MessageList.ERROR);
            syncException.setCompilationOutput(new MessageList());
            syncException.fillInStackTrace();
            return;
          }

          /* Check return value */
          if (compileProcess.exitValue() != 0) {
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.