Class MCRUsageException

All Implemented Interfaces:
Serializable

public class MCRUsageException extends MCRException
Instances of MCRUsageException are thrown when the MyCoRe API is used in an illegal way. For example, this could happen when you provide illegal arguments to a method.
Version:
$Revision$ $Date$
Author:
Frank Lützenkirchen
See Also:
  • Constructor Details

    • MCRUsageException

      public MCRUsageException(String message)
      Creates a new MCRUsageException with an error message
      Parameters:
      message - the error message for this exception
    • MCRUsageException

      public MCRUsageException(String message, Exception exception)
      Creates a new MCRUsageException with an error message and a reference to an exception thrown by an underlying system.
      Parameters:
      message - the error message for this exception
      exception - the exception that was thrown by an underlying system