| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.slim3.commons.exception.SRuntimeException
public class SRuntimeException
A base runtime exception.
| Constructor Summary | |
|---|---|
SRuntimeException(String messageCode,
                  Object... args)
Constructor.  | 
|
SRuntimeException(Throwable cause,
                  String messageCode,
                  Object... args)
Constructor.  | 
|
| Method Summary | |
|---|---|
protected static String | 
convertCauseMessage(Throwable cause)
Converts the cause to a message.  | 
 Object[] | 
getArgs()
Returns the arguments.  | 
 String | 
getMessageCode()
Returns the message code.  | 
| 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 SRuntimeException(String messageCode,
                         Object... args)
messageCode - the message codeargs - the arguments
public SRuntimeException(Throwable cause,
                         String messageCode,
                         Object... args)
cause - the causemessageCode - the message codeargs - the arguments| Method Detail | 
|---|
protected static String convertCauseMessage(Throwable cause)
cause - the cause.
public String getMessageCode()
public Object[] getArgs()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||