FileDocCategorySizeDatePackage
PoolException.javaAPI DocGlassfish v2 API3162Fri May 04 22:33:00 BST 2007com.sun.ejb.containers.util.pool

PoolException

public class PoolException extends RuntimeException

$Source: /cvs/glassfish/appserv-core/src/java/com/sun/ejb/containers/util/pool/PoolException.java,v $
author
$Author: tcfujii $
version
$Revision: 1.4 $ $Date: 2007/05/05 05:33:00 $

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);
    	}