org.elasticsearch
Class ExceptionsHelper

java.lang.Object
  extended by org.elasticsearch.ExceptionsHelper

public final class ExceptionsHelper
extends Object


Constructor Summary
ExceptionsHelper()
           
 
Method Summary
static String detailedMessage(Throwable t)
           
static String detailedMessage(Throwable t, boolean newLines, int initialCounter)
           
static RestStatus status(Throwable t)
           
static Throwable unwrapCause(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionsHelper

public ExceptionsHelper()
Method Detail

status

public static RestStatus status(Throwable t)

unwrapCause

public static Throwable unwrapCause(Throwable t)

detailedMessage

public static String detailedMessage(Throwable t)

detailedMessage

public static String detailedMessage(Throwable t,
                                     boolean newLines,
                                     int initialCounter)


Copyright © 2009-2012. All Rights Reserved.