public class ContentNotFoundException
extends javax.portlet.PortletException
This exception is thrown when the content with the specified content id is not found in a content displaying portlet
![]() |
![]() |
Modifier and Type | Field and Description |
---|---|
private String |
contentId
The content id.
|
private static long |
serialVersionUID
The Constant serialVersionUID.
|
Constructor and Description |
---|
ContentNotFoundException(String message)
Instantiates a new content not found exception.
|
ContentNotFoundException(String message,
String id)
Instantiates a new content not found exception.
|
ContentNotFoundException(String message,
String id,
Throwable t)
Instantiates a new content not found exception.
|
ContentNotFoundException(String message,
Throwable t)
Instantiates a new content not found exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentId()
Gets the content id.
|
void |
setContentId(String contentId)
Sets the content id.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private String contentId
public ContentNotFoundException(String message)
message
- the messagepublic ContentNotFoundException(String message, String id)
message
- the messageid
- the idpublic ContentNotFoundException(String message, Throwable t)
message
- the messaget
- the tCopyright © 2014 Gentics Software GmbH. All Rights Reserved.