net.floodlightcontroller.core.internal
Class SwitchStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by net.floodlightcontroller.core.internal.SwitchStateException
All Implemented Interfaces:
java.io.Serializable

public class SwitchStateException
extends java.lang.IllegalArgumentException

This exception indicates an error or unexpected message during message handling. E.g., if an OFMessage is received that is illegal or unexpected given the current handshake state. We don't allow wrapping other exception in a switch state exception. We only log the SwitchStateExceptions message so the casuing exceptions stack trace is generally not available.

See Also:
Serialized Form

Constructor Summary
SwitchStateException()
           
SwitchStateException(java.lang.String arg0)
           
SwitchStateException(java.lang.Throwable arg0)
           
 
Method Summary
 
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

SwitchStateException

public SwitchStateException()

SwitchStateException

public SwitchStateException(java.lang.String arg0)

SwitchStateException

public SwitchStateException(java.lang.Throwable arg0)