public class ProductCmptGenerationNotFoundException extends RuntimeException
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getEffetiveDate()
Returns the effective date for that a generation was requested.
|
String |
getProductCmptId()
Returns the product component id of the product component generation that hasn't been found.
|
String |
getRepositoryName()
Returns the name of the repository that was searched for the product component generation.
|
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. |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ProductCmptGenerationNotFoundException(String repositoryName, String productCmptId, Calendar effectiveDate, boolean productCmptWasFound)
public String getRepositoryName()
public String getProductCmptId()
public Calendar getEffetiveDate()
public boolean productCmptWasFound()
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.Copyright © 2020. All rights reserved.