|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sf.j2ep.factories.MethodNotAllowedException
public class MethodNotAllowedException
An exception thrown when a factory can't handle the incoming method.
Constructor Summary | |
---|---|
MethodNotAllowedException(java.lang.String message,
java.lang.String allowedMethods)
Basic constructor creating a exception. |
Method Summary | |
---|---|
java.lang.String |
getAllowedMethods()
Returns which methods that are allowed by the instance throwing this exception. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodNotAllowedException(java.lang.String message, java.lang.String allowedMethods)
message
- The exception messageallowedMethods
- The allowed methodsMethod Detail |
---|
public java.lang.String getAllowedMethods()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |