Examples of SerializableStatus


Examples of org.eclipse.ecf.core.status.SerializableStatus

  protected IStatus createOKStatus() {
    return SerializableStatus.OK_STATUS;
  }

  protected IStatus createErrorStatus() {
    return new SerializableStatus(IStatus.ERROR, Activator.PLUGIN_ID,
        IStatus.ERROR, "error", new IllegalArgumentException(
            "myexception"));
  }
View Full Code Here

Examples of org.eclipse.ecf.core.status.SerializableStatus

      super(message);
    }
  }

  protected IStatus createNotSerializableExceptionStatus() {
    return new SerializableStatus(IStatus.ERROR, Activator.PLUGIN_ID,
        IStatus.ERROR, "error", new MyNotSerializableException(
            "myexception"));
  }
View Full Code Here

Examples of org.eclipse.ecf.core.status.SerializableStatus

    //Activator.getDefault().log(new Status(IStatus.WARNING, Activator.PLUGIN_ID, SERVICE_INVOKE_ERROR_CODE, message, e));
  }

  private Throwable getSerializableException(Throwable e) {
    // Just use the SerializableStatus
    SerializableStatus ss = new SerializableStatus(0, Activator.PLUGIN_ID, null, e);
    return ss.getException();
  }
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.