net.juniper.smgt.sae.portal
Class PortalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.juniper.smgt.sae.portal.PortalException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NonUniqueUserException, OverloadException, SspException, UnknownServiceException, UnknownSubscriptionException, UnknownUserException, UnsupportedException
public class PortalException
- extends Exception
This is the superclass of all exceptions thrown by the
Portal API.
- See Also:
- Serialized Form
printStackTrace
public void printStackTrace(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 Throwable
- Since:
- 3.0