atg.portal.framework
Class PortalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.ServletException
              extended by atg.portal.framework.PortalException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommunitySpawnException, DuplicateRegionException, InvalidNameException, InvalidTypeException, ManifestFileException, MissingIdException, MissingItemDescriptorException, MissingParentException, MissingUrlException, PortalObjectCreationException, PortalObjectDeleteException, PortalObjectNotFoundException, PortalObjectUpdateException, RegistrationException, RemoveSharedGearException

public class PortalException
extends javax.servlet.ServletException

This is the base exception class for all portal exceptions.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
PortalException()
          Constructs an instanceof PortalException
PortalException(java.lang.String pMsg)
          Constructs an instanceof PortalException
PortalException(java.lang.String pMsg, java.lang.Throwable pSource)
          Constructs an instanceof PortalException
PortalException(java.lang.Throwable pSource)
          Constructs an instanceof PortalException
 
Method Summary
 void printStackTrace()
          Print our stack trace and that of the source exception if there is one.
 void printStackTrace(java.io.PrintStream pStream)
          Print our stack trace and that of the source exception if there is one.
 void printStackTrace(java.io.PrintWriter pWriter)
          Print our stack trace and that of the source exception if there is one.
 java.lang.String toString()
          Display information about this exception
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

PortalException

public PortalException()
Constructs an instanceof PortalException


PortalException

public PortalException(java.lang.String pMsg)
Constructs an instanceof PortalException


PortalException

public PortalException(java.lang.Throwable pSource)
Constructs an instanceof PortalException


PortalException

public PortalException(java.lang.String pMsg,
                       java.lang.Throwable pSource)
Constructs an instanceof PortalException

Method Detail

printStackTrace

public void printStackTrace()
Print our stack trace and that of the source exception if there is one. Print to the standard error stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream pStream)
Print our stack trace and that of the source exception if there is one. Print to the supplied stream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pStream - Stream to print to

printStackTrace

public void printStackTrace(java.io.PrintWriter pWriter)
Print our stack trace and that of the source exception if there is one. Print to the supplied writer

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pWriter - Writer to print to

toString

public java.lang.String toString()
Display information about this exception

Overrides:
toString in class java.lang.Throwable