public class NodeException
extends java.lang.Exception
Constructor and Description |
---|
NodeException()
Create an instance of the exception
|
NodeException(java.lang.String message)
Create an instance of the exception with a message
|
NodeException(java.lang.String message,
java.lang.String messageKey)
Create an instance of the exception with a message and a localized message.
|
NodeException(java.lang.String message,
java.lang.String messageKey,
java.util.List<java.lang.String> parameters)
Create an instance of the exception with a message and a localized message.
|
NodeException(java.lang.String message,
java.lang.String messageKey,
java.lang.String parameter)
Create an instance of the exception with a message and a localized message.
|
NodeException(java.lang.String message,
java.lang.Throwable cause)
Create an instance of the exception with a message and a cause
|
NodeException(java.lang.Throwable cause)
Create an instance of the exception with a cause
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage()
Returns the localized message from the given message key.
|
public NodeException()
public NodeException(java.lang.String message)
message
- message of the exceptionpublic NodeException(java.lang.String message, java.lang.Throwable cause)
message
- message of the exceptioncause
- cause of the exceptionpublic NodeException(java.lang.Throwable cause)
cause
- cause of the exceptionpublic NodeException(java.lang.String message, java.lang.String messageKey)
message
- A plain text message that contains information about the error.messageKey
- A message key that is used to construct a CNI18nString for the localized message.public NodeException(java.lang.String message, java.lang.String messageKey, java.util.List<java.lang.String> parameters)
message
- A plain text message that contains information about the error.messageKey
- A message key that is used to construct a CNI18nString for the localized message.parameters
- List of parameters for the localized message.public NodeException(java.lang.String message, java.lang.String messageKey, java.lang.String parameter)
message
- A plain text message that contains information about the error.messageKey
- A message key that is used to construct a CNI18nString for the localized message.parameter
- Single parameter for the localized message. If you need more than one parameter use InsufficientPrivilegesException.InsufficientPrivilegesException(String, String, List)
.Copyright © 2022 Gentics Software. All Rights Reserved.