Class IASSecurityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.enterprise.security.util.IASSecurityException
All Implemented Interfaces:
Serializable

public class IASSecurityException extends Exception
General exception class for iAS security failures.

This class takes advantage of the JDK1.4 Throwable objects which can carry the original cause of the exception. This prevents losing the information on what caused the problem to arise.

Ideally there should be common top level iAS Exceptions to extend.

See Also:
  • Constructor Details

    • IASSecurityException

      public IASSecurityException(String msg)
      Constructor.
      Parameters:
      msg - The detail message.
    • IASSecurityException

      public IASSecurityException(String msg, Throwable cause)
      Constructor.
      Parameters:
      msg - The detail message.
      cause - The cause (which is saved for later retrieval by the getCause() method).
    • IASSecurityException

      public IASSecurityException(Throwable cause)
      Constructor.
      Parameters:
      cause - The cause (which is saved for later retrieval by the getCause() method).
  • Method Details

    • getMessage

      public String getMessage()
      Returns a description of this exception. If a root cause was included during construction, its message is also included.
      Overrides:
      getMessage in class Throwable
      Returns:
      Message containing information about the exception.