|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.portlet.PortletException javax.portlet.PortletModeException
The PortletModeException
is thrown when a portlet tries to use or set a portlet mode that is not
supported by the current runtime environment or the portlet. s *
Field Summary | |
private PortletMode |
mode
|
private static long |
serialVersionUID
The serialVersionUID |
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
PortletModeException(java.lang.String text,
PortletMode mode)
Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception. |
|
PortletModeException(java.lang.String text,
java.lang.Throwable cause,
PortletMode mode)
Constructs a new portlet mode exception when the portlet needs to do the following: |
|
PortletModeException(java.lang.Throwable cause,
PortletMode mode)
Constructs a new portlet mode exception when the portlet needs to throw an exception. |
Method Summary | |
PortletMode |
getMode()
Returns the unsupported portlet mode causing this exception. |
private void |
readObject(java.io.ObjectInputStream in)
|
private void |
writeObject(java.io.ObjectOutputStream out)
|
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 transient PortletMode mode
Constructor Detail |
public PortletModeException(java.lang.String text, PortletMode mode)
text
- the exception textmode
- the mode causing the exceptionpublic PortletModeException(java.lang.String text, java.lang.Throwable cause, PortletMode mode)
text
- the exception textcause
- the root causemode
- the mode causing the exceptionpublic PortletModeException(java.lang.Throwable cause, PortletMode mode)
cause
- the root causemode
- the mode causing the exceptionMethod Detail |
public PortletMode getMode()
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |