congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StartException.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
org.jboss.msc.service.StartException

Best Java code snippets using org.jboss.msc.service.StartException.toString (Showing top 10 results out of 315)

origin: org.jboss.as/jboss-as-controller

private static ModelNode getServiceFailureDescription(final StartException exception) {
  final ModelNode result = new ModelNode();
  if (exception != null) {
    StringBuilder sb = new StringBuilder(exception.toString());
    Throwable cause = exception.getCause();
    while (cause != null) {
      sb.append("\n    Caused by: ");
      sb.append(cause.toString());
      cause = cause.getCause();
    }
    result.set(sb.toString());
  }
  return result;
}
origin: org.wildfly/wildfly-controller

private static ModelNode getServiceFailureDescription(final StartException exception) {
  final ModelNode result = new ModelNode();
  if (exception != null) {
    StringBuilder sb = new StringBuilder(exception.toString());
    Throwable cause = exception.getCause();
    while (cause != null) {
      sb.append("\n    Caused by: ");
      sb.append(cause.toString());
      cause = cause.getCause();
    }
    result.set(sb.toString());
  }
  return result;
}
origin: org.wildfly.core/wildfly-controller

private static ModelNode getServiceFailureDescription(final StartException exception) {
  final ModelNode result = new ModelNode();
  if (exception != null) {
    // This is a bit of inside knowledge of StartException. Its toString() prefixes
    // the main data with 'org...StartException in org.foo.bar: " stuff that
    // will be redundant in the overall output we are creating so we omit that if we can.
    String msg = exception.getLocalizedMessage();
    if (msg == null || msg.length() == 0) {
      msg = exception.toString();
    }
    StringBuilder sb = new StringBuilder(msg);
    Throwable cause = exception.getCause();
    while (cause != null) {
      sb.append("\n    Caused by: ");
      sb.append(cause.toString());
      cause = cause.getCause();
    }
    result.set(sb.toString());
  }
  return result;
}
origin: wildfly/wildfly-core

private static ModelNode getServiceFailureDescription(final StartException exception) {
  final ModelNode result = new ModelNode();
  if (exception != null) {
    // This is a bit of inside knowledge of StartException. Its toString() prefixes
    // the main data with 'org...StartException in org.foo.bar: " stuff that
    // will be redundant in the overall output we are creating so we omit that if we can.
    String msg = exception.getLocalizedMessage();
    if (msg == null || msg.length() == 0) {
      msg = exception.toString();
    }
    StringBuilder sb = new StringBuilder(msg);
    Throwable cause = exception.getCause();
    while (cause != null) {
      sb.append("\n    Caused by: ");
      sb.append(cause.toString());
      cause = cause.getCause();
    }
    result.set(sb.toString());
  }
  return result;
}
origin: org.wildfly/wildfly-controller

final StartException startException = controller.getStartException();
if (startException != null) {
  msg.append(": ").append(startException.toString());
origin: org.wildfly.core/wildfly-controller

exMsg = startException.toString();
origin: wildfly/wildfly-core

exMsg = startException.toString();
origin: org.jboss.as/jboss-as-controller

case STARTING_to_START_FAILED: {
  synchronized (this) {
    failedControllers.put(controller, controller.getStartException().toString());
origin: org.jboss.msc/jboss-msc

    dependencyNames,
    failCount != 0,
    startException != null ? startException.toString() : null,
    unavailableDependencies > 0
);
origin: jboss-msc/jboss-msc

    dependencyNames,
    failCount != 0,
    startException != null ? startException.toString() : null,
    unavailableDependencies > 0
);
org.jboss.msc.serviceStartExceptiontoString

Popular methods of StartException

  • <init>
    Constructs a StartException with the specified cause. The detail message is set to:(cause == null ?
  • getStackTrace
  • setStackTrace
  • getCause
  • printStackTrace
  • getLocalizedMessage
  • getMessage

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Notification (javax.management)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now