planet.behaviour.exception
Class NoSuchBehaviourException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byplanet.behaviour.exception.NoSuchBehaviourException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchBehaviourException
extends java.lang.Exception

This Exception is thrown whenever a incoming RouteMessage pattern does not match any Behaviour pattern on BehavioursPool scheduler.

Author:
Marc Sanchez
See Also:
Serialized Form

Constructor Summary
NoSuchBehaviourException()
          Generates new instance with default message.
NoSuchBehaviourException(java.lang.String message)
          Generates nes instance with the specified message
NoSuchBehaviourException(java.lang.String message, java.lang.Throwable cause)
          Inicialization of the new instance.
NoSuchBehaviourException(java.lang.Throwable cause)
          Initialization of the new instance.
 
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

NoSuchBehaviourException

public NoSuchBehaviourException()
Generates new instance with default message.


NoSuchBehaviourException

public NoSuchBehaviourException(java.lang.String message)
Generates nes instance with the specified message

Parameters:
message - Message to be inicialized the Exception.

NoSuchBehaviourException

public NoSuchBehaviourException(java.lang.String message,
                                java.lang.Throwable cause)
Inicialization of the new instance.

Parameters:
message - The message to be inicialized.
cause - Throwable cause of the exception.

NoSuchBehaviourException

public NoSuchBehaviourException(java.lang.Throwable cause)
Initialization of the new instance.

Parameters:
cause - Throwable cause of the exception.