Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  *  jDTAUS Core Utilities
  *  Copyright (c) 2005 Christian Schulte
  *
  *  Christian Schulte, Haldener Strasse 72, 58095 Hagen, Germany
  *  <cs@jdtaus.org> (+49 2331 3543887)
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2.1 of the License, or any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */
package org.jdtaus.core.lang.util;
import  org.jdtaus.core.text.Message;

Resolves Messages for given exceptions.

Author(s):
Christian Schulte
Version:
$Id: ExceptionMessageResolver.java 5034 2008-07-04 11:04:09Z schulte2005 $
See also:
ExceptionMessageProducer.onException(ExceptionEvent)
public interface ExceptionMessageResolver
    //--ExceptionMessageResolver------------------------------------------------

    
Resolves Messages for a given exception.

Parameters:
exception the exception to resolve any messages for.
Returns:
an array of application messages resolved for exception or null if the implementation cannot resolve any application messages for exception.
Throws:
NullPointerException if exception is null.
See also:
ExceptionMessageProducer.onException(ExceptionEvent)
    Message[] resolveException exception );
    //------------------------------------------------ExceptionMessageResolver--
New to GrepCode? Check out our FAQ X