railo.commons.lang
Class ExceptionUtil

java.lang.Object
  extended by railo.commons.lang.ExceptionUtil

public final class ExceptionUtil
extends Object


Constructor Summary
ExceptionUtil()
           
 
Method Summary
static PageException addHint(PageExceptionImpl pe, String hint)
           
static String createSoundexDetail(String name, Iterator<String> it, String keyName)
           
static String getMessage(Throwable t)
           
static String getStacktrace(Throwable t, boolean addMessage)
           
static String similarKeyMessage(Collection.Key[] _keys, String keySearched, String keyLabel, String keyLabels)
          creates a message for key not found with soundex check for similar key
static String similarKeyMessage(Collection coll, String keySearched, String keyLabel, String keyLabels)
           
static IOException toIOException(Throwable t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionUtil

public ExceptionUtil()
Method Detail

getStacktrace

public static String getStacktrace(Throwable t,
                                   boolean addMessage)

getMessage

public static String getMessage(Throwable t)

addHint

public static PageException addHint(PageExceptionImpl pe,
                                    String hint)

similarKeyMessage

public static String similarKeyMessage(Collection.Key[] _keys,
                                       String keySearched,
                                       String keyLabel,
                                       String keyLabels)
creates a message for key not found with soundex check for similar key

Parameters:
keys -
keyLabel -
Returns:

similarKeyMessage

public static String similarKeyMessage(Collection coll,
                                       String keySearched,
                                       String keyLabel,
                                       String keyLabels)

toIOException

public static IOException toIOException(Throwable t)

createSoundexDetail

public static String createSoundexDetail(String name,
                                         Iterator<String> it,
                                         String keyName)


Copyright © 2012 Railo