public class CommunoteRuntimeException extends RuntimeException
| Constructor and Description | 
|---|
| CommunoteRuntimeException(String message)Constructs a new instance of CommunoteException | 
| CommunoteRuntimeException(String message,
                         Throwable throwable)Constructs a new instance of CommunoteException | 
| CommunoteRuntimeException(String message,
                         Throwable throwable,
                         String messageKey,
                         Object... arguments)Constructs a new instance of CommunoteException | 
| Modifier and Type | Method and Description | 
|---|---|
| Object[] | getArguments() | 
| String | getLocalizedMessage(Locale locale)Returns the localized message of this exception. | 
| String | getMessageKey() | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CommunoteRuntimeException(String message)
message - of the exceptionpublic CommunoteRuntimeException(String message, Throwable throwable)
message - of the exceptionthrowable - the cause of the exceptionpublic CommunoteRuntimeException(String message, Throwable throwable, String messageKey, Object... arguments)
message - of the exceptionthrowable - the cause of the exceptionmessageKey - A message key to be used for a specific error message.arguments - Arguments to be used for the specific error message.public Object[] getArguments()
public String getLocalizedMessage(Locale locale)
locale - The locale.public String getMessageKey()
Copyright © 2019 Communote team. All rights reserved.