Package jetbrains.communicator.util

Examples of jetbrains.communicator.util.StacktraceExtractor


  public static StacktraceEvent createStacktraceEvent(Transport transport, String remoteUser, String stacktrace, String comment) {
    return new StacktraceEvent(transport, remoteUser, stacktrace, comment);
  }

  public static MessageEvent createMessageEvent(Transport transport, String remoteUser, String comment) {
    StacktraceExtractor stacktraceExtractor = new StacktraceExtractor(comment);
    if (stacktraceExtractor.containsStacktrace()) {
      return createStacktraceEvent(transport, remoteUser,
          stacktraceExtractor.getStacktrace(), stacktraceExtractor.getMessageText());
    }
    return new MessageEvent(transport, remoteUser, comment);
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.util.StacktraceExtractor

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.