# com.bea.p13n.placeholder
ContentException Class

public class ContentException
extends `ApplicationException`

Implements an exception throw by the Ad services when there is a problem with the content

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `ApplicationException`
  `ContentException`

All Implemented Interfaces
  `Serializable`

Direct Known Subclasses
  `AdContentException`

## Constructor Summary

ContentException() Constructor
ContentException(boolean warning) Constructor
ContentException(`String` msg, boolean isWarning) Constructor.
ContentException(`String` msg, `Exception` source, boolean isWarning) Constructor.
ContentException(`String` msg, `Exception` source) Constructor.
ContentException(`String` msg) Constructor.

## Method Summary

`public `Exception`` | `getSourceException`() Gets the exception which caused this exception to be raised
`public boolean` | `isWarning`()
`public void` | `setWarning`(boolean isWarning)

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`

## Constructor Detail

### ContentException

    public ContentException()

  Constructor

### ContentException

    public ContentException(boolean warning)

  Constructor

### ContentException

    public ContentException(String msg,
                            boolean isWarning)

  Constructor.

### ContentException

    public ContentException(String msg,
                            Exception source,
                            boolean isWarning)

  Constructor.

### ContentException

    public ContentException(String msg,
                            Exception source)

  Constructor.

### ContentException

    public ContentException(String msg)

  Constructor.

## Method Detail

### getSourceException() Method

    public Exception getSourceException()

Gets the exception which caused this exception to be raised

#### Returns

the exception (can be null if none).

### isWarning() Method

    public boolean isWarning()

### setWarning(boolean) Method

    public void setWarning(boolean isWarning)