net.walend.director
Class ClassForRoleNotFoundException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--net.walend.lang.NestedRuntimeException
                          |
                          +--net.walend.director.DirectorRuntimeException
                                |
                                +--net.walend.director.ClassForRoleNotFoundException
All Implemented Interfaces:
HasNestedThrowable, java.io.Serializable

public class ClassForRoleNotFoundException
extends DirectorRuntimeException
implements java.io.Serializable

Throw this exception when a Director, Mother, Freezer or Digger can not find the correct class to instantiate for a given role.

Since:
20001125
Author:
David Walend

Field Summary
private  java.lang.String role
           
 
Fields inherited from class net.walend.lang.NestedRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ClassForRoleNotFoundException(java.lang.String role)
           
ClassForRoleNotFoundException(java.lang.String message, java.lang.String role)
           
ClassForRoleNotFoundException(java.lang.String message, java.lang.Throwable nester, java.lang.String role)
           
ClassForRoleNotFoundException(java.lang.Throwable nester, java.lang.String role)
           
 
Method Summary
 java.lang.String getMessage()
          Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s.
 
Methods inherited from class net.walend.lang.NestedRuntimeException
getNestedThrowable, hasNestedThrowable, printLimitedStackTrace, printLimitedStackTrace, printLimitedStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

role

private java.lang.String role
Constructor Detail

ClassForRoleNotFoundException

public ClassForRoleNotFoundException(java.lang.String role)

ClassForRoleNotFoundException

public ClassForRoleNotFoundException(java.lang.String message,
                                     java.lang.String role)

ClassForRoleNotFoundException

public ClassForRoleNotFoundException(java.lang.Throwable nester,
                                     java.lang.String role)

ClassForRoleNotFoundException

public ClassForRoleNotFoundException(java.lang.String message,
                                     java.lang.Throwable nester,
                                     java.lang.String role)
Method Detail

getMessage

public java.lang.String getMessage()
Description copied from class: NestedRuntimeException
Returns this exception's message, followed by the nested Throwable's message, surrounded by []'s.

Overrides:
getMessage in class NestedRuntimeException


Copyright (c) 2000, 2001, David Walend