org.rhq.enterprise.server.plugin.pc.bundle
Class UnknownRecipeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rhq.enterprise.server.plugin.pc.bundle.UnknownRecipeException
All Implemented Interfaces:
Serializable

public class UnknownRecipeException
extends Exception

This exception is thrown when a bundle server plugin has been asked to parse a recipe but that recipe is not one that is recognized by the plugin. For example, if a plugin accepts an Ant script as its recipe, this exception should be thrown if the given recipe is not an Ant XML file in the first place. A different exception should be thrown if the recipe was an actual Ant script, but it had a syntax error or some other error that the Ant parser found and reported.

Author:
John Mazzitelli
See Also:
Serialized Form

Constructor Summary
UnknownRecipeException()
           
UnknownRecipeException(String message)
           
UnknownRecipeException(String message, Throwable cause)
           
UnknownRecipeException(Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

UnknownRecipeException

public UnknownRecipeException()

UnknownRecipeException

public UnknownRecipeException(String message)

UnknownRecipeException

public UnknownRecipeException(Throwable cause)

UnknownRecipeException

public UnknownRecipeException(String message,
                              Throwable cause)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.