Package com.orchestranetworks.service

# Class OperationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.orchestranetworks.service.OperationException

All Implemented Interfaces:
  `Serializable`

public abstract class OperationException extends Exception
Thrown to indicate that an operation cannot complete normally.

See Also:
  - `Procedure`
  - Functional guard and exceptions

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static final OperationException`
  `createError(UserMessage aMessage)`
  `static final OperationException`
  `createError(UserMessage aMessage, Throwable ex)`
  `static final OperationException`
  `createError(String aMessage)`
  `static final OperationException`
  `createError(String aMessage, Throwable ex)`
  `static final OperationException`
  `createError(Throwable ex)`
  `String`
  `getMessageForLocale(Locale aLocale)`
  Returns a localized user message.

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### 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.