|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.extensions.surf.exception.PlatformRuntimeException
public class PlatformRuntimeException
Base exception for Spring Surf platform (i18n enabled)
Constructor Summary | |
---|---|
PlatformRuntimeException(String msgId)
Constructor |
|
PlatformRuntimeException(String msgId,
Object[] msgParams)
Constructor |
|
PlatformRuntimeException(String msgId,
Object[] msgParams,
Throwable cause)
Constructor |
|
PlatformRuntimeException(String msgId,
Throwable cause)
Constructor |
Method Summary | |
---|---|
static PlatformRuntimeException |
create(String msgId,
Object... objects)
Helper factory method making use of variable argument numbers |
static PlatformRuntimeException |
create(Throwable cause,
String msgId,
Object... objects)
Helper factory method making use of variable argument numbers |
static RuntimeException |
makeRuntimeException(Throwable e,
String msgId,
Object... objects)
Utility to convert a general Throwable to a RuntimeException. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlatformRuntimeException(String msgId)
msgId
- the message idpublic PlatformRuntimeException(String msgId, Object[] msgParams)
msgId
- the message idmsgParams
- the message parameterspublic PlatformRuntimeException(String msgId, Throwable cause)
msgId
- the message idcause
- the exception causepublic PlatformRuntimeException(String msgId, Object[] msgParams, Throwable cause)
msgId
- the message idmsgParams
- the message parameterscause
- the exception causeMethod Detail |
---|
public static PlatformRuntimeException create(String msgId, Object... objects)
public static PlatformRuntimeException create(Throwable cause, String msgId, Object... objects)
public static RuntimeException makeRuntimeException(Throwable e, String msgId, Object... objects)
create(Throwable, String, Object...)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |