|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.ui.server.util.ExceptionUtils
public class ExceptionUtils
Provides some util methods for dealing with exceptions.
| Constructor Summary | |
|---|---|
ExceptionUtils()
|
|
| Method Summary | |
|---|---|
static RemoteServiceException |
createRemoteException(String message,
Throwable root)
Creates a remote exception that can be thrown to the client. |
static RemoteServiceException |
createRemoteException(Throwable root)
Creates a remote exception that can be thrown to the client. |
static Throwable |
getRootCause(Throwable t)
Gets the root exception from the given Throwable. |
static String |
getRootStackTrace(Throwable t)
Gets the root stack trace as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtils()
| Method Detail |
|---|
public static String getRootStackTrace(Throwable t)
t - public static Throwable getRootCause(Throwable t)
Throwable.
t -
public static RemoteServiceException createRemoteException(String message,
Throwable root)
message - root - public static RemoteServiceException createRemoteException(Throwable root)
root -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||