wt.clients.beans.explorer
Class WTExplorerPartialResultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.clients.beans.explorer.WTExplorerPartialResultException
- All Implemented Interfaces:
- LocalizableMessage, Message, Serializable
- public class WTExplorerPartialResultException
- extends WTException
Class WTExplorerPartialResultException is an exception that is intended
to be used when an exception occurs retrieving Explorable objects and
only a partial set of Explorable objects was successfully retrieved.
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
String |
getDisplayType()
Returns the display type of the object for which an error occurred
retrieving the corresponding Explorable objects. |
Explorable[] |
getPartialResults()
Returns the array of Explorable objects which represents partial
results. |
void |
setDisplayType(String display_type)
Sets the display type of the object for which an error occurred
retrieving the corresponding Explorable objects. |
void |
setPartialResults(Explorable[] partial_results)
Sets the array of Explorable objects representing the partial results
which were retrieved. |
Methods inherited from class wt.util.WTException |
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString, toString |
partialResults
private Explorable[] partialResults
displayType
private String displayType
WTExplorerPartialResultException
public WTExplorerPartialResultException(Throwable t)
WTExplorerPartialResultException
public WTExplorerPartialResultException(Throwable t,
String s)
setPartialResults
public void setPartialResults(Explorable[] partial_results)
- Sets the array of Explorable objects representing the partial results
which were retrieved.
- Parameters:
partial_results
- the array of Explorable objects
getPartialResults
public Explorable[] getPartialResults()
- Returns the array of Explorable objects which represents partial
results.
- Returns:
- the array of Explorable objects
setDisplayType
public void setDisplayType(String display_type)
- Sets the display type of the object for which an error occurred
retrieving the corresponding Explorable objects. For example,
in the case of the Windchill Explorer, the display type would be
a cabinet or a folder.
- Parameters:
display_type
- the String display type of the object
getDisplayType
public String getDisplayType()
- Returns the display type of the object for which an error occurred
retrieving the corresponding Explorable objects. For example,
in the case of the Windchill Explorer, the display type would be
a cabinet or a folder.
- Returns:
- the String display type of the object