ref_send API 2.17
defensive programming in Java

org.ref_send.promise
Class NotAMaker

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.NullPointerException
                  extended by org.ref_send.promise.NotAMaker
All Implemented Interfaces:
java.io.Serializable, Immutable, Powerless

public class NotAMaker
extends java.lang.NullPointerException
implements Powerless

Indicates the class provided to spawn is not a Maker.

A Maker class MUST:

See Also:
Serialized Form

Constructor Summary
NotAMaker()
           
 
Method Summary
static java.lang.reflect.Method dispatch(java.lang.Class<?> maker)
          Finds a Maker's make method.
 
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

NotAMaker

public NotAMaker()
Method Detail

dispatch

public static java.lang.reflect.Method dispatch(java.lang.Class<?> maker)
                                         throws NotAMaker
Finds a Maker's make method.

Parameters:
maker - maker type
Returns:
corresponding make method
Throws:
NotAMaker - no make method found

ref_send API 2.17
defensive programming in Java

Submit a bug or feature, or get help

Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.