wt.clients.beans.explorer
Class WTExplorerPartialResultException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bywt.util.WTException
              extended bywt.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

Field Summary
private  String displayType
           
private  Explorable[] partialResults
           
 
Fields inherited from class wt.util.WTException
GETMESSAGE_LINE_SEPARATOR, LINE_SEPARATOR, SPACE_SEPARATOR, TOSTRING_LINE_SEPARATOR
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
WTExplorerPartialResultException(Throwable t)
           
WTExplorerPartialResultException(Throwable t, String s)
           
 
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
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partialResults

private Explorable[] partialResults

displayType

private String displayType
Constructor Detail

WTExplorerPartialResultException

public WTExplorerPartialResultException(Throwable t)

WTExplorerPartialResultException

public WTExplorerPartialResultException(Throwable t,
                                        String s)
Method Detail

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