wt.adapter
Class ExceptionToGroup

java.lang.Object
  extended bywt.adapter.ExceptionToGroup

public class ExceptionToGroup
extends Object


Constructor Summary
ExceptionToGroup()
           
 
Method Summary
static Group getGroup(Throwable t)
           
static Group getGroup(Throwable t, Locale locale)
          Morph an exception into an error Group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionToGroup

public ExceptionToGroup()
Method Detail

getGroup

public static Group getGroup(Throwable t,
                             Locale locale)
Morph an exception into an error Group.

Parameters:
t - Throwable exception
Returns:
Group

getGroup

public static Group getGroup(Throwable t)