com.ibm.are.service
Class InvalidServiceStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.are.service.InvalidServiceStateException
All Implemented Interfaces:
java.io.Serializable

public class InvalidServiceStateException
extends java.lang.RuntimeException

The InvalidServiceStateException exception class is used when a service detects that it is in an invalid state. An example of an invalid state may be if an AutoStartSingletonService has its start() method invoked more than once. In general autostart singleton services should only have their start() method invoked once by the runtime. If a user written plugin decided to invoke the autostart singleton service's start() method, it is possible that the method would throw an InvalidServiceStateException.

Version:
1.0
Author:
IBM
See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright for class bytecode
 
Constructor Summary
InvalidServiceStateException()
          Constructs a new InvalidServiceStateException object with no detailed message.
InvalidServiceStateException(java.lang.String message)
          Constructs a new InvalidServiceStateException object with the specified detail message.
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright for class bytecode

See Also:
Constant Field Values
Constructor Detail

InvalidServiceStateException

public InvalidServiceStateException()
Constructs a new InvalidServiceStateException object with no detailed message.


InvalidServiceStateException

public InvalidServiceStateException(java.lang.String message)
Constructs a new InvalidServiceStateException object with the specified detail message.

Parameters:
message - The detail message for this exception