FileDocCategorySizeDatePackage
J2EEResourceException.javaAPI DocGlassfish v2 API2671Fri May 04 22:35:10 BST 2007com.sun.enterprise.repository

J2EEResourceException

public class J2EEResourceException extends Exception
Exception thrown for J2EEResource errors.
author
Kenneth Saks

Fields Summary
private Exception
exception_
private String
errorMsg_
Constructors Summary
public J2EEResourceException(String errorMsg)

        errorMsg_ = errorMsg;
    
public J2EEResourceException(Exception exception)

        exception_ = exception;
    
Methods Summary
public java.lang.ExceptiongetNestedException()

        return exception_;
    
public java.lang.StringtoString()

        if (exception_ == null) {
            return errorMsg_ + " : " + super.toString();
        } else {
            return super.toString() + "\n" + exception_.toString();
        }