Package com.sun.enterprise.security.util
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IASSecurityException(String msg)
Constructor.IASSecurityException(String msg, Throwable cause)
Constructor.IASSecurityException(Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
Returns a description of this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
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 classThrowable
- Returns:
- Message containing information about the exception.
-
-