org.carrot2.core
Class MissingComponentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.carrot2.core.MissingComponentException
All Implemented Interfaces:
Serializable

public class MissingComponentException
extends Exception

An exception thrown if an operation has been attempted on a component identifier that is not associated with any factory.

Author:
Dawid Weiss
See Also:
LocalComponentFactory, LocalComponent, Serialized Form

Constructor Summary
MissingComponentException(String componentId)
          Creates a new exception object with an associated message explaining the cause of the error.
 
Method Summary
 String getMissingComponentId()
          Returns the identifier of a missing component.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MissingComponentException

public MissingComponentException(String componentId)
Creates a new exception object with an associated message explaining the cause of the error.

Parameters:
componentId - The identifier of a missing component.
Method Detail

getMissingComponentId

public String getMissingComponentId()
Returns the identifier of a missing component.



Copyright (c) Dawid Weiss, Stanislaw Osinski