com.werken.forehead
Class NoSuchEntryMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.werken.forehead.ForeheadException
              extended by com.werken.forehead.NoSuchEntryMethodException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchEntryMethodException
extends ForeheadException

Indicates an error locating the entry-point method.

Author:
bob mcwhirter
See Also:
Serialized Form

Field Summary
private  java.lang.Class entryClass
          The class lacking the entry-point method.
private  java.lang.String entryMethodDescriptor
          A friendly description of the method not found.
 
Constructor Summary
NoSuchEntryMethodException(java.lang.Class entryClass, java.lang.String entryMethodDescriptor)
          Construct with a class and description of the method no found.
 
Method Summary
 java.lang.Class getEntryClass()
          Retrieve the entry-point class.
 java.lang.String getEntryMethodDescriptor()
          Retrieve the entry-point method description.
 java.lang.String getMessage()
          Retrieve the message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

entryClass

private java.lang.Class entryClass
The class lacking the entry-point method.


entryMethodDescriptor

private java.lang.String entryMethodDescriptor
A friendly description of the method not found.

Constructor Detail

NoSuchEntryMethodException

public NoSuchEntryMethodException(java.lang.Class entryClass,
                                  java.lang.String entryMethodDescriptor)
Construct with a class and description of the method no found.

Parameters:
entryClass - The entry-point class.
entryMethodDescriptor - Description of method not found upon the entry-point class.
Method Detail

getEntryClass

public java.lang.Class getEntryClass()
Retrieve the entry-point class.

Returns:
The entry-point class.

getEntryMethodDescriptor

public java.lang.String getEntryMethodDescriptor()
Retrieve the entry-point method description.

Returns:
The entry-point method description.

getMessage

public java.lang.String getMessage()
Retrieve the message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
The error message.