@API(type=EXTENDABLE,
src=PUBLIC)
public class ReferenceResolverException
extends java.lang.RuntimeException
Constructor and Description |
---|
ReferenceResolverException(java.lang.String errorMessage,
boolean showInResultsPanel,
boolean reportAsError)
Constructor.
|
ReferenceResolverException(java.lang.String errorMessage,
java.lang.String originalErrorMessage,
boolean showInResultsPanel,
boolean reportAsError)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ReferenceErrorResolver |
getErrorResolver()
Gets a possible solution for the user.
|
java.lang.String |
getShortMessage()
Obtain the exception short message.
|
boolean |
isReportAsError()
Check if the exception should be reported as an error.
|
boolean |
isShowInResultsPanel()
Check if should also show the message in a results panel.
|
void |
setErrorResolver(ReferenceErrorResolver errorResolver)
Sets a possible solution for the user.
|
public ReferenceResolverException(java.lang.String errorMessage, boolean showInResultsPanel, boolean reportAsError)
errorMessage
- The error message.showInResultsPanel
- true
to also show the message in a results panel.reportAsError
- true
to report as error, false
to report as warning.public ReferenceResolverException(java.lang.String errorMessage, java.lang.String originalErrorMessage, boolean showInResultsPanel, boolean reportAsError)
errorMessage
- The short error message. Sometimes the message which
will be presented first time to the user is shorter than the original message.originalErrorMessage
- The exception original message.showInResultsPanel
- true
to also show the message in a results panel.reportAsError
- true
to report as error, false
to report as warning.public boolean isShowInResultsPanel()
true
to also show the message in a results panel.public boolean isReportAsError()
true
to report as error, false
to report as warning.public void setErrorResolver(ReferenceErrorResolver errorResolver)
errorResolver
- The errorResolver to set.public ReferenceErrorResolver getErrorResolver()
public java.lang.String getShortMessage()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.