FileDocCategorySizeDatePackage
ServiceEngineException.javaAPI DocGlassfish v2 API3160Fri May 04 22:30:24 BST 2007com.sun.enterprise.jbi.serviceengine

ServiceEngineException

public class ServiceEngineException extends Exception
author
Manisha Umbarje

Fields Summary
Constructors Summary
public ServiceEngineException(String message)
Creates a new instance of ServiceEngineException

        super(message);
    
public ServiceEngineException(Throwable e)

        super(e);
    
Methods Summary
public static com.sun.enterprise.jbi.serviceengine.ServiceEngineExceptionfilterExceptions(java.lang.Exception jmxEx)

        Throwable rootCause = jmxEx;
        Throwable cause = rootCause;
        for (;;)
        {
            if ( cause == null ||
            !( cause instanceof MBeanException  ||
            cause instanceof RuntimeMBeanException ||
            cause instanceof RuntimeOperationsException ) ) {
                break;
            }
            rootCause = cause.getCause();
            cause = rootCause;
        }
        if ( rootCause instanceof ServiceEngineException ){
            return (ServiceEngineException) rootCause;
        } else {
            return new ServiceEngineException(rootCause);
        }