com.sap.portal.admin.editor.exception
Class EditorResourceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.sap.portal.admin.editor.exception.EditorFrameworkException
|
+--com.sap.portal.admin.editor.exception.EditorResourceException
- All Implemented Interfaces:
- java.io.Serializable
- public class EditorResourceException
- extends EditorFrameworkException
EditorResourceException
Thrown to indicate that an error occured regarding the
resource that this editor deals with.
This exception is a showstopper for the editor-
The editor framework will present the given end user message
instead of the regular editor UI
- See Also:
- Serialized Form
|
Constructor Summary |
EditorResourceException(java.lang.String message,
java.lang.String endUserMessageKey,
java.lang.String[] params)
Constructor |
EditorResourceException(java.lang.String message,
java.lang.String endUserMessageKey,
java.lang.String[] params,
java.lang.Throwable nestedException)
Constructor |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EditorResourceException
public EditorResourceException(java.lang.String message,
java.lang.String endUserMessageKey,
java.lang.String[] params)
- Constructor
- Parameters:
message - messgae to be print to the log.endUserMessageKey - the key of the message that will presented to the
end user instead of the editor regular UI.params - parameters to add to the end user message. They will be combined
into the mesasage in the formatting.
EditorResourceException
public EditorResourceException(java.lang.String message,
java.lang.String endUserMessageKey,
java.lang.String[] params,
java.lang.Throwable nestedException)
- Constructor
- Parameters:
message - messgae to be print to the log.endUserMessageKey - the key of the message that will presented to the
end user instead of the editor regular UI.params - parameters to add to the end user message. They will be combined
into the mesasage in the formatting.nestedException -
getEndUserMessageKey
public java.lang.String getEndUserMessageKey()
- Returns:
- string- the key of the message that will presented to the
end user instead of the editor regular UI.
getEndUserMessageParams
public java.lang.String[] getEndUserMessageParams()
- Returns:
- the end user message parameters