All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CCDuplicateException, CCFileMismatchException, CCImportFlowPointException, CCInvalidResultDirectory, CCModifierException

public class CCImportException extends CCAbstractException
An exception during the import process If it is available the path being processed should be set in this exception before throwing it
Since:
3.1
See Also:
  • Constructor Details

    • CCImportException

      public CCImportException(String messageKey)
    • CCImportException

      public CCImportException(String messageKey, String parm1)
      Create import exception with message and one parameter
      Parameters:
      messageKey - message key or id
      parm1 - substitution value
      Since:
      4.0
    • CCImportException

      public CCImportException(String messageKey, String parm1, String parm2)
      Create import exception with message and parameters
      Parameters:
      messageKey - message key or id
      parm1 - first substitution value
      parm2 - second substitution value
      Since:
      4.0
    • CCImportException

      public CCImportException(Throwable cause)
      Create import message from an exception
      Parameters:
      cause - exception that caused the problem
  • Method Details

    • getPath

      public String getPath()
      Returns the path used by the importer and can help identify the source of the exception
      Returns:
      path
      Since:
      4.0
    • setPath

      public void setPath(String path)
      Set the import path in this exception this can give the catcher of this exception the context
      Parameters:
      path - path that was used by the importer
      Since:
      4.0