Core API 7.15

net.juniper.smgt.sae.portal
Class PortalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.juniper.smgt.sae.portal.PortalException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NonUniqueUserException, OverloadException, SspException, UnknownServiceException, UnknownSubscriptionException, UnknownUserException, UnsupportedException

public class PortalException
extends java.lang.Exception

This is the superclass of all exceptions thrown by the Portal API.

See Also:
Serialized Form

Method Summary
 void printStackTrace(java.io.PrintWriter pw)
          For debugging only.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
For debugging only. Many PortalExceptions have their root cause in an internal (i.e. non-API) SAE exception. In such cases, the portal API will catch the internal exception and immediately throw a PortalException subclass instance. As a result, the stack trace of most PortalExceptions is of little use for debugging. To aid in debugging, the portal API may in some cases save the original internal exception as a field in the PortalException that it throws. If it does so, this method will provide the stack trace from that original internal exception. If it does not, this method will provide the less useful stack trace from the PortalException subclass instance.

Overrides:
printStackTrace in class java.lang.Throwable
Since:
3.0

Core API 7.15