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:
Serializable
- Author:
- Jan Ortmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProductCmptGenerationNotFoundException(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 Summary
Modifier and TypeMethodDescriptionReturns the effective date for that a generation was requested.Returns the product component id of the product component generation that hasn't been found.Returns the name of the repository that was searched for the product component generation.booleanReturnstrueif the product component was found in the repository but the product component hasn't got a generation valid at the given effective date.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
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
Returns the name of the repository that was searched for the product component generation. -
getProductCmptId
Returns the product component id of the product component generation that hasn't been found. -
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
-