Class ProductCmptNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      ProductCmptNotFoundException​(java.lang.String repositoryName, java.lang.String productCmptId)
      Creates a new exception that indicates that no product component with the given id has been found.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProductCmptId()
      Returns the id of the product component that hasn't been found.
      java.lang.String getRepositoryName()
      Returns the name of the repository that was searched for the product component.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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​(java.lang.String repositoryName,
                                            java.lang.String productCmptId)
        Creates a new exception that indicates that no product component with the given id has been found.
    • Method Detail

      • getProductCmptId

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable