net.walend.director
Class ObjectForRoleNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--net.walend.lang.NestedRuntimeException
|
+--net.walend.director.DirectorRuntimeException
|
+--net.walend.director.ObjectForRoleNotFoundException
- All Implemented Interfaces:
- HasNestedThrowable, java.io.Serializable
- public class ObjectForRoleNotFoundException
- 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.Class |
clas
|
private java.lang.String |
role
|
Fields inherited from class java.lang.RuntimeException |
|
Fields inherited from class java.lang.Throwable |
|
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 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 |
clas
private java.lang.Class clas
role
private java.lang.String role
ObjectForRoleNotFoundException
public ObjectForRoleNotFoundException(java.lang.String role,
java.lang.Class clas)
- Only use this constructor for Serialization.
ObjectForRoleNotFoundException
public ObjectForRoleNotFoundException(java.lang.String message,
java.lang.String role,
java.lang.Class clas)
ObjectForRoleNotFoundException
public ObjectForRoleNotFoundException(java.lang.Throwable nester,
java.lang.String role,
java.lang.Class clas)
ObjectForRoleNotFoundException
public ObjectForRoleNotFoundException(java.lang.String message,
java.lang.Throwable nester,
java.lang.String role,
java.lang.Class clas)
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