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