org.eclipse.stp.core.saf.exception
Class InvalidOperationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.stp.core.saf.exception.InvalidOperationException
All Implemented Interfaces:
java.io.Serializable

public class InvalidOperationException
extends java.lang.Exception

This exception is thrown by methods in ISAFManager to report errors when an operation invoked by the client program cannot be performed. The error message may be displayed to the user in an error dialog, so it should be easy to understand.

See Also:
Serialized Form

Constructor Summary
InvalidOperationException(java.lang.String message)
          Creates an exception object from an error message.
InvalidOperationException(java.lang.String message, java.lang.Throwable cause)
          Creates an exception object from an error message and another 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidOperationException

public InvalidOperationException(java.lang.String message)
Creates an exception object from an error message. The message will potentially be displayed to the user through an error dialog, so it must be easy to understand.

Parameters:
message - translated text describing the error

InvalidOperationException

public InvalidOperationException(java.lang.String message,
                                 java.lang.Throwable cause)
Creates an exception object from an error message and another exception. The message will potentially be displayed to the user through an error dialog, so it must be easy to understand.

Parameters:
message - translated text describing the error
cause - the base exception object