uk.ac.ebi.mapper.web.struts.business
Class ExceptionHandler

java.lang.Object
  extended by uk.ac.ebi.mapper.web.struts.business.ExceptionHandler

public class ExceptionHandler
extends Object

Created by IntelliJ IDEA. User: rcote Date: 19-Mar-2007 Time: 12:46:00 To change this template use File | Settings | File Templates.


Field Summary
static int EXCEPTION
           
static int NCBI_SOAP_EXCEPTION
           
static int OLS_SOAP_EXCEPTION
           
static int SQL_EXCEPTION
           
 
Constructor Summary
ExceptionHandler()
           
ExceptionHandler(int exceptionType, Exception exception, String errorMsg)
           
 
Method Summary
 String getErrorMsg()
           
 Exception getException()
           
 int getExceptionType()
           
 void setErrorMsg(String errorMsg)
           
 void setException(Exception exception)
           
 void setExceptionType(int exceptionType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NCBI_SOAP_EXCEPTION

public static final int NCBI_SOAP_EXCEPTION
See Also:
Constant Field Values

OLS_SOAP_EXCEPTION

public static final int OLS_SOAP_EXCEPTION
See Also:
Constant Field Values

SQL_EXCEPTION

public static final int SQL_EXCEPTION
See Also:
Constant Field Values

EXCEPTION

public static final int EXCEPTION
See Also:
Constant Field Values
Constructor Detail

ExceptionHandler

public ExceptionHandler(int exceptionType,
                        Exception exception,
                        String errorMsg)

ExceptionHandler

public ExceptionHandler()
Method Detail

getExceptionType

public int getExceptionType()

setExceptionType

public void setExceptionType(int exceptionType)

getException

public Exception getException()

setException

public void setException(Exception exception)

getErrorMsg

public String getErrorMsg()

setErrorMsg

public void setErrorMsg(String errorMsg)


Copyright © 2011. All Rights Reserved.