edu.umd.cfar.lamp.viper.util
Class MethodNotSupportedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.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

Constructor Summary
MethodNotSupportedException()
          Constructs an MethodNotSupportedException with no detail message.
MethodNotSupportedException(java.lang.String s)
          Constructs an MethodNotSupportedException with the specified detail message.
 
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
 

Constructor Detail

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.