com.sun.enterprise.module.bootstrap
Class DefaultErrorService

java.lang.Object
  extended by com.sun.enterprise.module.bootstrap.DefaultErrorService
All Implemented Interfaces:
ErrorService

@Singleton
public class DefaultErrorService
extends Object
implements ErrorService


Constructor Summary
DefaultErrorService()
           
 
Method Summary
 void onFailure(ErrorInformation ei)
          This method is called when a failure occurs in the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultErrorService

public DefaultErrorService()
Method Detail

onFailure

public void onFailure(ErrorInformation ei)
               throws MultiException
Description copied from interface: ErrorService
This method is called when a failure occurs in the system. This method may use any ServiceLocator api. For example, an implementation of this method might want to remove a descriptor from the registry if the error can be determined to be a permanent failure.

Specified by:
onFailure in interface ErrorService
Parameters:
ei - Information about the error that occurred
Throws:
MultiException - if this method throws an exception that exception will be thrown back to the caller wrapped in another MultiException


Copyright © 2013 Oracle Corporation. All Rights Reserved.