© 2005 BEA Systems, Inc.

com.bea.p13n.placeholder
Class ContentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.bea.p13n.exceptions.ApplicationException
              extended bycom.bea.p13n.placeholder.ContentException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdContentException

public class ContentException
extends ApplicationException

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

See Also:
Serialized Form

Constructor Summary
ContentException()
          Constructor
ContentException(boolean warning)
          Constructor
ContentException(String msg)
          Constructor.
ContentException(String msg, boolean isWarning)
          Constructor.
ContentException(String msg, Exception source)
          Constructor.
ContentException(String msg, Exception source, boolean isWarning)
          Constructor.
 
Method Summary
 Exception getSourceException()
          Gets the exception which caused this exception to be raised
 boolean isWarning()
           
 void setWarning(boolean isWarning)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentException

public ContentException()
Constructor


ContentException

public ContentException(boolean warning)
Constructor


ContentException

public ContentException(String msg)
Constructor.


ContentException

public ContentException(String msg,
                        boolean isWarning)
Constructor.


ContentException

public ContentException(String msg,
                        Exception source)
Constructor.


ContentException

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

Method Detail

getSourceException

public Exception getSourceException()
Gets the exception which caused this exception to be raised

Returns:
the exception (can be null if none).

isWarning

public boolean isWarning()

setWarning

public void setWarning(boolean isWarning)

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved