com.softwareag.mdm.service
Class OperationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.softwareag.mdm.service.OperationException
All Implemented Interfaces:
Serializable

public class OperationException
extends Exception

Thrown to indicate that an operation cannot complete normally.

See Also:
Serialized Form

Constructor Summary
OperationException(String aMessage)
          Deprecated. Replaced by createError(...) methods.
OperationException(String aMessage, Throwable aCause)
          Deprecated. Replaced by createError(...) methods.
OperationException(Throwable aCause)
          Deprecated. Replaced by createError(...) methods.
 
Method Summary
static OperationException createError(String aMessage)
           
static OperationException createError(String aMessage, Throwable ex)
           
static OperationException createError(Throwable ex)
           
static OperationException createError(UserMessage aMessage)
           
static OperationException createError(UserMessage aMessage, Throwable ex)
           
 String getMessageForLocale(Locale aLocale)
          Returns a localized user message.
 
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

OperationException

public OperationException(String aMessage)
Deprecated. Replaced by createError(...) methods.


OperationException

public OperationException(String aMessage,
                          Throwable aCause)
Deprecated. Replaced by createError(...) methods.


OperationException

public OperationException(Throwable aCause)
Deprecated. Replaced by createError(...) methods.

Method Detail

createError

public static final OperationException createError(String aMessage)

createError

public static final OperationException createError(String aMessage,
                                                   Throwable ex)

createError

public static final OperationException createError(UserMessage aMessage)

createError

public static final OperationException createError(UserMessage aMessage,
                                                   Throwable ex)

createError

public static final OperationException createError(Throwable ex)

getMessageForLocale

public String getMessageForLocale(Locale aLocale)
Returns a localized user message.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.