cz.cuni.amis.pogamut.base.component.bus.exception
Class ComponentNotRunningException

Package class diagram package ComponentNotRunningException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by cz.cuni.amis.utils.exception.PogamutException
                  extended by cz.cuni.amis.pogamut.base.component.exception.ComponentException
                      extended by cz.cuni.amis.pogamut.base.component.bus.exception.ComponentNotRunningException
All Implemented Interfaces:
Serializable

public class ComponentNotRunningException
extends ComponentException

This exception is thrown whenever you call some running-state-dependent method from the public interface of some IComponent. It means that the component is not running (e.g. is just stopping right now or is stopped, was not started etc.)

Author:
Jimmy
See Also:
Serialized Form

Constructor Summary
ComponentNotRunningException(ComponentState state, Logger log, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(ComponentState state, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(ComponentState state, Throwable cause, Logger log, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentNotRunningException(ComponentState state, Throwable cause, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentNotRunningException(String message, Logger log, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(String message, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(String message, Throwable cause, Logger log, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentNotRunningException(String message, Throwable cause, Object origin)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class cz.cuni.amis.utils.exception.PogamutException
getOrigin, isLogged, logException, logExceptionOnce, setLogged, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentNotRunningException

public ComponentNotRunningException(ComponentState state,
                                    Object origin)
Constructs a new exception with the specified detail message.

Not logging anything anywhere on its own.

Parameters:
state -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(String message,
                                    Object origin)
Constructs a new exception with the specified detail message.

Not logging anything anywhere on its own.

Parameters:
message -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(ComponentState state,
                                    Throwable cause,
                                    Object origin)
Constructs a new exception with the specified detail message and cause.

Not logging anything anywhere on its own.

Parameters:
message -
cause -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(String message,
                                    Throwable cause,
                                    Object origin)
Constructs a new exception with the specified detail message and cause.

Not logging anything anywhere on its own.

Parameters:
message -
cause -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(ComponentState state,
                                    Logger log,
                                    Object origin)
Constructs a new exception with the specified detail message.

Logs the exception via specified Logger.

Parameters:
message -
log -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(String message,
                                    Logger log,
                                    Object origin)
Constructs a new exception with the specified detail message.

Logs the exception via specified Logger.

Parameters:
message -
log -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(ComponentState state,
                                    Throwable cause,
                                    Logger log,
                                    Object origin)
Constructs a new exception with the specified detail message and cause.

Logs the exception via specified Logger.

Parameters:
state -
cause -
log -
origin - which object does produced the exception

ComponentNotRunningException

public ComponentNotRunningException(String message,
                                    Throwable cause,
                                    Logger log,
                                    Object origin)
Constructs a new exception with the specified detail message and cause.

Logs the exception via specified Logger.

Parameters:
message -
cause -
origin - which object does produced the exception


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.