|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.gentics.api.lib.exception.NodeException
public class NodeException
General exception thrown in .node
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
java.lang.String |
getLocalizedMessage()
Returns the localized message from the given message key. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 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.localizedMessageKey
- 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.localizedMessageKey
- 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.localizedMessageKey
- 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)
.Method Detail |
---|
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |