Package org.vietspider.common.io.ExceptionWriter

Examples of org.vietspider.common.io.ExceptionWriter.TraceObject


  }
 
  public void setException(Object obj, Exception exp) {
    if(exp == null) return;
    if(print) exp.printStackTrace();
    writer.put(new TraceObject(null, exp, null));
    if(obj == null || exp instanceof NullPointerException) return;
    Shell shell = (Shell) obj;
    MessageBox messageBox = new MessageBox(shell, SWT.OK);   
    if(exp.getMessage() != null) {
      messageBox.setMessage(exp.getMessage());
View Full Code Here

TOP

Related Classes of org.vietspider.common.io.ExceptionWriter.TraceObject

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.