de.lmu.ifi.dbs.elki.utilities.exceptions
Class APIViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.lmu.ifi.dbs.elki.utilities.exceptions.AbortException
                  extended by 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

Field Summary
private static long serialVersionUID
          Serial version
 
Constructor Summary
APIViolationException(String message)
          Constructor.
APIViolationException(String message, Throwable cause)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version

See Also:
Constant Field Values
Constructor Detail

APIViolationException

public APIViolationException(String message)
Constructor.

Parameters:
message - Error message

APIViolationException

public APIViolationException(String message,
                             Throwable cause)
Constructor.

Parameters:
message - Error message
cause - Reason

Release 0.4.0 (2011-09-20_1324)