Package elki.utilities.exceptions
Class APIViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- elki.utilities.exceptions.AbortException
-
- elki.utilities.exceptions.APIViolationException
-
- All Implemented Interfaces:
java.io.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).- Since:
- 0.4.0
- Author:
- Erich Schubert
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Serial version
-
Constructor Summary
Constructors Constructor Description APIViolationException(java.lang.String message)
Constructor.APIViolationException(java.lang.String message, java.lang.Throwable cause)
Constructor.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial version- See Also:
- Constant Field Values
-
-
Constructor Detail
-
APIViolationException
public APIViolationException(java.lang.String message)
Constructor.- Parameters:
message
- Error message
-
APIViolationException
public APIViolationException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- Error messagecause
- Reason
-
-