public class StatusReport extends AbstractReport
Status
that may be passed to the report service.Constructor and Description |
---|
StatusReport(org.eclipse.core.runtime.Status status)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Returns the exception this report is based on, if any.
|
String |
getMessage()
Returns the report message.
|
int |
getSeverity()
Returns the status of this report.
|
boolean |
hasException()
Whether this report is based upon an exception.
|
setException, setMessage
public StatusReport(org.eclipse.core.runtime.Status status)
status
- the status to be wrappedpublic String getMessage()
getMessage
in class AbstractReport
AbstractReport.getMessage()
public boolean hasException()
hasException
in class AbstractReport
true
, if this report is based upon an exception, false
otherwiseAbstractReport.hasException()
public Throwable getException()
getException
in class AbstractReport
null
AbstractReport.getException()
public int getSeverity()
getSeverity
in class AbstractReport
AbstractReport.getSeverity()
Copyright © 2016. All rights reserved.