|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.portlet.PortletException
com.gentics.cr.portlet.exception.ContentNotFoundException
public class ContentNotFoundException
The class ContentNotFoundException.
This exception is thrown when the content with the specified content id is not found in a content displaying portlet
![]() |
![]() |
Field Summary | |
---|---|
private String |
contentId
The content id. |
private static long |
serialVersionUID
The Constant serialVersionUID. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
getContentId()
Gets the content id. |
void |
setContentId(String contentId)
Sets the content id. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
Field Detail |
---|
private static final long serialVersionUID
private String contentId
Constructor Detail |
---|
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 tpublic ContentNotFoundException(String message, String id, Throwable t)
message
- the messageid
- the idt
- the tMethod Detail |
---|
public String getContentId()
public void setContentId(String contentId)
contentId
- the new content id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |