Class ProductCmptGenerationNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.faktorips.runtime.ProductCmptGenerationNotFoundException
All Implemented Interfaces:
Serializable

public class ProductCmptGenerationNotFoundException extends RuntimeException
Author:
Jan Ortmann
See Also:
  • Constructor Details

    • ProductCmptGenerationNotFoundException

      public ProductCmptGenerationNotFoundException(String repositoryName, String productCmptId, Calendar effectiveDate, boolean productCmptWasFound)
      Creates a new exception that indicates that no product component generation with the given id and effective date has been found.
  • Method Details

    • getRepositoryName

      public String getRepositoryName()
      Returns the name of the repository that was searched for the product component generation.
    • getProductCmptId

      public String getProductCmptId()
      Returns the product component id of the product component generation that hasn't been found.
    • getEffetiveDate

      public Calendar getEffetiveDate()
      Returns the effective date for that a generation was requested.
    • productCmptWasFound

      public boolean productCmptWasFound()
      Returns true if the product component was found in the repository but the product component hasn't got a generation valid at the given effective date. Returns false if the product component hasn't been found.
    • toString

      public String toString()
      Overrides:
      toString in class Throwable