Class ToolRenderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.sakaiproject.portal.render.api.ToolRenderException
-
- All Implemented Interfaces:
Serializable
public class ToolRenderException extends IOException
Exception thrown when an error occurs while preprocessing or rendering a portlet.- Since:
- Sakai 2.2.3
- Version:
- $Rev$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToolRenderException(String message)Alternate constructor indicating that this exception is the root cause.ToolRenderException(String message, Throwable throwable)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetThrowable()Retrieve the exception which caused this exception to be rethrown.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ToolRenderException
public ToolRenderException(String message, Throwable throwable)
Default constructor- Parameters:
message- the exception messagethrowable- the root cause.
-
ToolRenderException
public ToolRenderException(String message)
Alternate constructor indicating that this exception is the root cause.- Parameters:
message- the exception message
-
-
Method Detail
-
getThrowable
public Throwable getThrowable()
Retrieve the exception which caused this exception to be rethrown.- Returns:
- the root cause
-
-