当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
ErrorResult - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.output
Class ErrorResult
java.lang.Object
org.jboss.portal.server.output.Result
org.jboss.portal.server.output.ErrorResult
- Direct Known Subclasses:
- SecurityErrorResult
- public class ErrorResult
- extends Result
Application level error.
Constructor Summary |
ErrorResult(java.lang.Throwable throwable)
|
Method Summary |
java.lang.String |
getMessage()
The logged message. |
java.lang.Throwable |
getThrowable()
The throwable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorResult
public ErrorResult(java.lang.Throwable throwable)
getThrowable
public java.lang.Throwable getThrowable()
- The throwable. Can be a null object.
getMessage
public java.lang.String getMessage()
- The logged message.