edu.umd.cfar.lamp.viper.util
Class MethodNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.umd.cfar.lamp.viper.util.MethodNotSupportedException
- All Implemented Interfaces:
- java.io.Serializable
- public class MethodNotSupportedException
- extends java.lang.Exception
Thrown by classes that may or may not have a specific function
implemented, and this instance does not. For example, an Attribute
may or may not be composable, and calling compose on an
uncomposable attribute will throw one of these exceptions.
(I really should use java's UnsupportedOperationException,
but that extends RuntimeException and I want this more hardcore.)
- See Also:
- Serialized Form
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 |
MethodNotSupportedException
public MethodNotSupportedException()
- Constructs an MethodNotSupportedException with no detail message.
MethodNotSupportedException
public MethodNotSupportedException(java.lang.String s)
- Constructs an MethodNotSupportedException with the
specified detail message.
- Parameters:
s
- The detail message.