# com.beasys.commerce.foundation.exception
BadInputException Class

public class BadInputException
extends `ProcessingException`

`BadInputException` or sub-classes of `BadInputException` are to be thrown by classes that implement the `InputProcessor` interface to signal any bad input.

Note: Throughout this API documentation namespace refers to the resource bundle that contains the catalog of exception messages. Refer to the `MessageCatalog` API documentation for further details.

Related Topics

``MessageCatalogException``

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `ProcessingException`
  `BadInputException`

All Implemented Interfaces
  `MessageCatalogException`, `Serializable`

## Field Summary

Fields from com.beasys.commerce.foundation.exception`.`ProcessingException``
``MESSAGE_NAMESPACE``

Fields from com.beasys.commerce.foundation.exception`.`ApplicationException``
``embeddedException`, `logMessages`, `userMessages``

## Constructor Summary

BadInputException(`String` messageKey, `Exception` embeddedException) Constructs a BadInputException.
BadInputException(`String` messageKey, `Object` argument, `Exception` embeddedException) Constructs a BadInputException.
BadInputException(`String` messageKey, `Object` argument) Constructs a BadInputException.
BadInputException(`String` namespace, `String` messageKey, `Exception` embeddedException) Constructs a BadInputException.
BadInputException(`String` namespace, `String` messageKey, `Object` argument, `Exception` embeddedException) Constructs a BadInputException.
BadInputException(`String` namespace, `String` messageKey, `Object` argument) Constructs a BadInputException.
BadInputException(`String` namespace, `String` messageKey, `String` argument, `Exception` embeddedException) Constructs a BadInputException.
BadInputException(`String` namespace, `String` messageKey, `String` argument) Constructs a BadInputException.
BadInputException(`String` messageKey, `String` argument) Constructs a BadInputException.
BadInputException(`String` messageKey) Constructs a BadInputException with the given message.

## Method Summary

Methods from `com.beasys.commerce.foundation.exception.`ProcessingException``
``setEmbeddedException``

Methods from `com.beasys.commerce.foundation.exception.`ApplicationException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLocalizedMessage`, `getLogMessage`, `getLogMessages`, `getMessage`, `getUserMessage`, `getUserMessages`, `toString``

Methods from `java.lang.`Throwable``
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.beasys.commerce.foundation.exception.`MessageCatalogException``
``addLogMessage`, `addLogMessage`, `addLogMessage`, `addMessage`, `addMessage`, `addMessage`, `addUserMessage`, `addUserMessage`, `addUserMessage`, `getEmbeddedException`, `getLogMessage`, `getLogMessages`, `getUserMessage`, `getUserMessages``

## Constructor Detail

### BadInputException

    public BadInputException(String messageKey,
                             Exception embeddedException)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String messageKey,
                             Object[] argument,
                             Exception embeddedException)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String messageKey,
                             Object[] argument)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String namespace,
                             String messageKey,
                             Exception embeddedException)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String namespace,
                             String messageKey,
                             Object[] argument,
                             Exception embeddedException)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String namespace,
                             String messageKey,
                             Object[] argument)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String namespace,
                             String messageKey,
                             String argument,
                             Exception embeddedException)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String namespace,
                             String messageKey,
                             String argument)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String messageKey,
                             String argument)

  Constructs a BadInputException.

### BadInputException

    public BadInputException(String messageKey)

  Constructs a BadInputException with the given message.