Core API 7.7

net.juniper.smgt.sae.portal
Class SspException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.juniper.smgt.sae.portal.PortalException
              extended by net.juniper.smgt.sae.portal.SspException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LoginException, ServiceAuthenticationException, UnknownServiceSessionException

public class SspException
extends PortalException

This exception is thrown when an operation fails due to an unexpected error condition in SAE or in an external system upon which SAE depends. For example, an LDAP directory, a RADIUS server, an E-series router, etc.). "Normal" error conditions (e.g. an authentication failure when a user mistypes a password) are indicated by the other subsclasses of PortalException, or by subclasses of this SspException.

See Also:
Serialized Form

Method Summary
 String getMessage()
          Returns an English language message explaining the underlying reason why a Portal API operation failed.
 String getWebMessage()
          Returns an English language message explaining the underlying reason why a Portal API operation failed.
 void setWebMessage(String msg)
          Sets an English language message explaining the underlying reason why a Portal API operation failed.
 
Methods inherited from class net.juniper.smgt.sae.portal.PortalException
printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMessage

public String getMessage()
Returns an English language message explaining the underlying reason why a Portal API operation failed. This message is not composed or formatted suitably for presentation in a user's web browser. It is intended for debugging purposes only (e.g. for printing inside an HTML comment).

Overrides:
getMessage in class Throwable

getWebMessage

public String getWebMessage()
Returns an English language message explaining the underlying reason why a Portal API operation failed.


setWebMessage

public void setWebMessage(String msg)
Sets an English language message explaining the underlying reason why a Portal API operation failed.


Core API 7.7