public class CommunoteException extends Exception
Constructor and Description |
---|
CommunoteException(String message)
Constructs a new instance of CommunoteException
|
CommunoteException(String message,
Throwable throwable)
Constructs a new instance of CommunoteException
|
CommunoteException(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, toString
public CommunoteException(String message)
message
- of the exceptionpublic CommunoteException(String message, Throwable throwable)
message
- of the exceptionthrowable
- object Throwablepublic CommunoteException(String message, Throwable throwable, String messageKey, Object... arguments)
message
- of the exceptionthrowable
- object ThrowablemessageKey
- 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.