Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.file.match
Class MultipleMatchesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.tools.ant.BuildException
                  extended by org.hyperic.util.file.match.MultipleMatchesException
All Implemented Interfaces:
java.io.Serializable

public class MultipleMatchesException
extends org.apache.tools.ant.BuildException

This exception is thrown by the MatcherScanner class when it detects multiple matchselectors have matched a single path. This will only be thrown if the matchconfig had its allowMultiplMatches attribute set to false.

See Also:
Serialized Form

Constructor Summary
MultipleMatchesException(java.io.File multiplyMatchedPath, MatchSelector[] matchers)
           
 
Method Summary
 MatchSelector[] getMatchers()
          Get the MatchSelectors that matched this path.
 java.io.File getPath()
          Get the path that multiple selectors matched on.
 java.lang.String getPathString()
          Get the absolute path String that multiple selectors matched on.
 
Methods inherited from class org.apache.tools.ant.BuildException
getCause, getException, getLocation, printStackTrace, printStackTrace, printStackTrace, setLocation, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleMatchesException

public MultipleMatchesException(java.io.File multiplyMatchedPath,
                                MatchSelector[] matchers)
Method Detail

getPath

public java.io.File getPath()
Get the path that multiple selectors matched on.


getPathString

public java.lang.String getPathString()
Get the absolute path String that multiple selectors matched on.


getMatchers

public MatchSelector[] getMatchers()
Get the MatchSelectors that matched this path.


Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.