Media Authoring
with Java API

tv.amwa.maj.exception
Class NotAnInterfaceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by tv.amwa.maj.exception.NotAnInterfaceException
All Implemented Interfaces:
Serializable, MAJException

public class NotAnInterfaceException
extends IllegalArgumentException
implements MAJException

Thrown when an interface, represented by a Class instance, to be implemented by a new class instance is not a Java interface.

No equivalent C result code has been found.

Author:
Richard Cartwright
See Also:
Dictionary, Serialized Form

Constructor Summary
NotAnInterfaceException()
          Create a new not an interface exception with no message.
NotAnInterfaceException(String msg)
          Create a new not an interface exception with the given descriptive message.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotAnInterfaceException

public NotAnInterfaceException(String msg)

Create a new not an interface exception with the given descriptive message.

Parameters:
msg - Message describing the exception.

NotAnInterfaceException

public NotAnInterfaceException()

Create a new not an interface exception with no message.


Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.