org.mycore.common
Class MCRUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mycore.common.MCRException
org.mycore.common.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: 13085 $ $Date: 2008-02-06 18:27:24 +0100 (Mi, 06 Feb 2008) $
- Author:
- Frank Lützenkirchen
- See Also:
- Serialized Form
|
Constructor Summary |
MCRUsageException(String message)
Creates a new MCRUsageException with an error message |
MCRUsageException(String message,
Exception exception)
Creates a new MCRUsageException with an error message and a reference to
an exception thrown by an underlying system. |
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 exceptionexception - the exception that was thrown by an underlying system