org.faktorips.runtime
Class ProductCmptNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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:
Serialized Form

Constructor Summary
ProductCmptNotFoundException(String repositoryName, String productCmptId)
          Creates a new exception that indicates that no product component with the given id has been found.
 
Method Summary
 String getProductCmptId()
          Returns the id of the product component that hasn't been found.
 String getRepositoryName()
          Returns the name of the repository that was searched for the product component.
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2015. All rights reserved.