Package org.faktorips.runtime
Class ProductCmptGenerationNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.faktorips.runtime.ProductCmptGenerationNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProductCmptGenerationNotFoundException extends java.lang.RuntimeException- Author:
- Jan Ortmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductCmptGenerationNotFoundException(java.lang.String repositoryName, java.lang.String productCmptId, java.util.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.CalendargetEffetiveDate()Returns the effective date for that a generation was requested.java.lang.StringgetProductCmptId()Returns the product component id of the product component generation that hasn't been found.java.lang.StringgetRepositoryName()Returns the name of the repository that was searched for the product component generation.booleanproductCmptWasFound()Returnstrueif the product component was found in the repository but the product component hasn't got a generation valid at the given effective date.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ProductCmptGenerationNotFoundException
public ProductCmptGenerationNotFoundException(java.lang.String repositoryName, java.lang.String productCmptId, java.util.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 Detail
-
getRepositoryName
public java.lang.String getRepositoryName()
Returns the name of the repository that was searched for the product component generation.
-
getProductCmptId
public java.lang.String getProductCmptId()
Returns the product component id of the product component generation that hasn't been found.
-
getEffetiveDate
public java.util.Calendar getEffetiveDate()
Returns the effective date for that a generation was requested.
-
productCmptWasFound
public boolean productCmptWasFound()
Returnstrueif the product component was found in the repository but the product component hasn't got a generation valid at the given effective date. Returnsfalseif the product component hasn't been found.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
-