FileDocCategorySizeDatePackage
PoolException.javaAPI DocGlassfish v2 API3858Fri May 04 22:32:16 BST 2007com.sun.enterprise.util.pool

PoolException

public class PoolException extends Exception

$Source: /cvs/glassfish/appserv-commons/src/java/com/sun/enterprise/util/pool/PoolException.java,v $
author
$Author: tcfujii $
version
$Revision: 1.4 $ $Date: 2007/05/05 05:32:16 $

Fields Summary
Throwable
throwable
Constructors Summary
public PoolException()

    
      
        super();
    
public PoolException(String message)

        super(message);
    
public PoolException(String message, Throwable throwable)

        super(message);
        this.throwable = throwable;
    
Methods Summary
public java.lang.ThrowablegetThrowable()

    	return this.throwable;
    
public voidprintStackTrace()

    	printStackTrace(new PrintWriter(System.err));
    
public voidprintStackTrace(java.io.PrintStream ps)

    	printStackTrace(new PrintWriter(ps));
    
public voidprintStackTrace(java.io.PrintWriter pw)

    	if (throwable != null) {
    		pw.println("PoolException: " + getMessage());
    		throwable.printStackTrace(pw);
    	} else {
    		super.printStackTrace(pw);
    	}