Class ProductCmptNotFoundException

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

public class ProductCmptNotFoundException extends RuntimeException
A runtime exception that indicates that a product component hasn't been found.
Author:
Jan Ortmann
See Also:
  • Constructor Details

    • ProductCmptNotFoundException

      public ProductCmptNotFoundException(String repositoryName, String productCmptId)
      Creates a new exception that indicates that no product component with the given id has been found.
  • Method Details

    • getProductCmptId

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

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

      public String toString()
      Overrides:
      toString in class Throwable