org.chorem.pollen.services.exceptions
Class FavoriteListImportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.chorem.pollen.services.exceptions.FavoriteListImportException
- All Implemented Interfaces:
- Serializable
public class FavoriteListImportException
- extends Exception
Exception during FavoriteListImport.execute(String) error. There is
always a cause from librairies used for import.
- Author:
- fdesbois
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
FavoriteListImportException
public FavoriteListImportException(String importName,
String causeMessage,
Throwable cause)
FavoriteListImportException
public FavoriteListImportException(String importName,
Throwable cause)
getImportName
public String getImportName()
- Returns:
- the name of import (CSV, LDAP, ...)
getCauseMessage
public String getCauseMessage()
- Returns:
- the error message source from import execution.
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- Get the message depends on
locale.
- Parameters:
locale - Locale to translate the message
- Returns:
- the localized message or default one if locale is null
Copyright © 2009-2012 CodeLutin. All Rights Reserved.