org.jboss.seam.exception.control
Class ExceptionHandlerComparator

java.lang.Object
  extended by org.jboss.seam.exception.control.ExceptionHandlerComparator
All Implemented Interfaces:
Comparator<HandlerMethod>

public final class ExceptionHandlerComparator
extends Object
implements Comparator<HandlerMethod>

Comparator to sort exception handlers according qualifier (TraversalPath.ASCENDING first), precedence (highest to lowest) and finally hierarchy (least to most specific).


Constructor Summary
ExceptionHandlerComparator()
           
 
Method Summary
 int compare(HandlerMethod lhs, HandlerMethod rhs)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ExceptionHandlerComparator

public ExceptionHandlerComparator()
Method Detail

compare

public int compare(HandlerMethod lhs,
                   HandlerMethod rhs)

Specified by:
compare in interface Comparator<HandlerMethod>


Copyright © 2010 Seam Framework. All Rights Reserved.