Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  *  jDTAUS - DTAUS fileformat.
  *  Copyright (c) 2005 Christian Schulte <cs@schulte.it>
  *
  *  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 4650 2008-03-10 04:25:23Z 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