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 getStacktrace(Throwable t, boolean addMessage)
           
static String similarKeyMessage(String[] keys, String keySearched, String keyLabel, String keyLabels)
          creates a message for key not found with soundex check for similar key
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)

addHint

public static PageException addHint(PageExceptionImpl pe,
                                    String hint)

similarKeyMessage

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

Parameters:
keys -
keyLabel -
Returns:

toIOException

public static IOException toIOException(Throwable t)


Copyright © 2012 Railo