org.openide.util
Class  Utilities.UnorderableException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.openide.util.Utilities.UnorderableException
- All Implemented Interfaces: 
 - Serializable
 
- Enclosing class: 
 - Utilities
 
- public static class Utilities.UnorderableException
- extends RuntimeException
  
Exception indicating that a given list could not be partially-ordered.
- See Also: 
 Utilities.partialSort(java.util.List, java.util.Comparator, boolean), Serialized Form
 
 
 
 
Utilities.UnorderableException
public Utilities.UnorderableException(Collection unorderable,
                                      Map deps)
- Create a new unorderable-list exception with no detail message.
- Parameters:
 unorderable - a collection of list elements which could not be ordered
                    (because there was some sort of cycle)deps - dependencies associated with the list; a map from list elements
             to sets of list elements which that element must appear after
 
 
Utilities.UnorderableException
public Utilities.UnorderableException(String message,
                                      Collection unorderable,
                                      Map deps)
- Create a new unorderable-list exception with a specified detail message.
- Parameters:
 message - the detail messageunorderable - a collection of list elements which could not be ordered
                    (because there was some sort of cycle)deps - dependencies associated with the list; a map from list elements
             to sets of list elements which that element must appear after
 
 
getUnorderable
public Collection getUnorderable()
- Get the unorderable elements.
- Returns:
 - the elements
 - See Also: 
 Utilities.UnorderableException(Collection,Map)
 
 
getDeps
public Map getDeps()
- Get the dependencies.
- Returns:
 - the dependencies
 - See Also: 
 Utilities.UnorderableException(Collection,Map)
 
 
Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.