Examples of fillInStackTrace()


Examples of org.eclipse.core.runtime.AssertionFailedException.fillInStackTrace()

  private void logWarning(String message, Object source, Saveable model) {
    // create a new exception
    AssertionFailedException assertionFailedException = new AssertionFailedException("unknown saveable: " + model //$NON-NLS-1$
        + " from part: " + source); //$NON-NLS-1$
    // record the current stack trace to help with debugging
    assertionFailedException.fillInStackTrace();
    WorkbenchPlugin.log(StatusUtil.newStatus(IStatus.WARNING, message,
        assertionFailedException));
  }

  /**
 
View Full Code Here

Examples of org.hornetq.api.core.HornetQException.fillInStackTrace()

            {
               final HornetQExceptionMessage mem = (HornetQExceptionMessage)response;

               HornetQException e = mem.getException();

               e.fillInStackTrace();

               throw e;
            }
         }
         finally
View Full Code Here

Examples of org.hornetq.api.core.HornetQException.fillInStackTrace()

            {
               final HornetQExceptionMessage mem = (HornetQExceptionMessage)response;

               HornetQException e = mem.getException();

               e.fillInStackTrace();

               throw e;
            }
         }
         finally
View Full Code Here

Examples of org.hornetq.api.core.HornetQException.fillInStackTrace()

            {
               final HornetQExceptionMessage mem = (HornetQExceptionMessage)response;

               HornetQException e = mem.getException();

               e.fillInStackTrace();

               throw e;
            }
         }
         finally
View Full Code Here

Examples of org.hornetq.api.core.HornetQException.fillInStackTrace()

            {
               final HornetQExceptionMessage mem = (HornetQExceptionMessage)response;

               HornetQException e = mem.getException();

               e.fillInStackTrace();

               throw e;
            }
         }
         finally
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException.fillInStackTrace()

        }
        if (!exceptions.isEmpty()) {
            // XXX: externalize this message
            RenderException exception = new RenderException(exceptions.size()
                    + " exceptions we raised while drawing map graphics", exceptions.get(0)); //$NON-NLS-1$
            exception.fillInStackTrace();
        }
        setState(DONE);
       
    }
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException.fillInStackTrace()

       
        if (!exceptions.isEmpty()) {
            //XXX: externalize this message
            RenderException exception = new RenderException(exceptions.size()
                    + " exceptions we raised while drawing map graphics", exceptions.get(0)); //$NON-NLS-1$
            exception.fillInStackTrace();
        }
        setState(DONE);
    }

    Job refreshJob = new Job("RefreshJob"){ //$NON-NLS-1$
View Full Code Here

Examples of org.postgresql.util.PSQLException.fillInStackTrace()

                con.setAutoCommit(autoCommit);
        }
        catch (SQLException sqlException)
        {
            fireConnectionFatalError(sqlException);
            throw (SQLException)sqlException.fillInStackTrace();
        }
        ConnectionHandler handler = new ConnectionHandler(con);
        last = handler;

        Connection proxyCon = (Connection)Proxy.newProxyInstance(getClass().getClassLoader(), new Class[]{Connection.class, PGConnection.class}, handler);
View Full Code Here

Examples of org.springframework.context.ApplicationContextException.fillInStackTrace()

      log.warn("Timeout occured before finding service dependencies for [" + delegateContext.getDisplayName()
          + "]");

      ApplicationContextException e = new ApplicationContextException("Application context initializition for '"
          + OsgiStringUtils.nullSafeSymbolicName(getBundle()) + "' has timed out");
      e.fillInStackTrace();
      fail(e);

    }
  }
View Full Code Here

Examples of org.switchyard.HandlerException.fillInStackTrace()

    public void testThrowableContent() throws Exception {
        // create hierarchy
        final Exception e_pre = new Exception("e");
        e_pre.fillInStackTrace();
        final HandlerException he1_pre = new HandlerException(e_pre);
        he1_pre.fillInStackTrace();
        final RuntimeException re_pre = new RuntimeException("re", he1_pre);
        re_pre.fillInStackTrace();
        final SwitchYardException sye_pre = new SwitchYardException("sye", re_pre);
        sye_pre.fillInStackTrace();
        final HandlerException he2_pre = new HandlerException("he", sye_pre);
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.