org.openide.util
Class Utilities.UnorderableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openide.util.Utilities.UnorderableException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Utilities

Deprecated. Used only by the deprecated partialSort

@Deprecated
public static class Utilities.UnorderableException
extends java.lang.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

Field Summary
(package private) static long serialVersionUID
          Deprecated.  
 
Constructor Summary
Utilities.UnorderableException(java.util.Collection unorderable, java.util.Map deps)
          Deprecated. Create a new unorderable-list exception with no detail message.
Utilities.UnorderableException(java.lang.String message, java.util.Collection unorderable, java.util.Map deps)
          Deprecated. Create a new unorderable-list exception with a specified detail message.
 
Method Summary
 java.util.Map getDeps()
          Deprecated. Get the dependencies.
 java.util.Collection getUnorderable()
          Deprecated. Get the unorderable elements.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

Utilities.UnorderableException

public Utilities.UnorderableException(java.util.Collection unorderable,
                                      java.util.Map deps)
Deprecated. 
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(java.lang.String message,
                                      java.util.Collection unorderable,
                                      java.util.Map deps)
Deprecated. 
Create a new unorderable-list exception with a specified detail message.

Parameters:
message - the detail message
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
Method Detail

getUnorderable

public java.util.Collection getUnorderable()
Deprecated. 
Get the unorderable elements.

Returns:
the elements
See Also:
Utilities.UnorderableException(Collection,Map)

getDeps

public java.util.Map getDeps()
Deprecated. 
Get the dependencies.

Returns:
the dependencies
See Also:
Utilities.UnorderableException(Collection,Map)