de.lmu.ifi.dbs.elki.utilities.exceptions
Class APIViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.lmu.ifi.dbs.elki.utilities.exceptions.AbortException
de.lmu.ifi.dbs.elki.utilities.exceptions.APIViolationException
- All Implemented Interfaces:
- Serializable
public class APIViolationException
- extends AbortException
This class indicates an exception likely caused by an API not implemented
correctly. ELKI has some API interface restrictions that cannot be expressed
in the Java language and that are checked at runtime. This in particular
includes parameterization and dynamic binding of algorithms to data.
This exception indicates that such an API might not have been implemented
correctly; you should check the documentation of interfaces you implement for
API descriptions that are not expressible in Java (and thus not checked by
the Java compiler).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Serial version
- See Also:
- Constant Field Values
APIViolationException
public APIViolationException(String message)
- Constructor.
- Parameters:
message
- Error message
APIViolationException
public APIViolationException(String message,
Throwable cause)
- Constructor.
- Parameters:
message
- Error messagecause
- Reason