org.apache.commons.i18n
Class LocalizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.i18n.LocalizedException
All Implemented Interfaces:
java.io.Serializable

public class LocalizedException
extends java.lang.Exception

The LocalizedException class is the base class for all exceptions that provide locaized error informations.

See Also:
Serialized Form

Constructor Summary
LocalizedException(ErrorBundle errorMessage)
           
LocalizedException(ErrorBundle errorMessage, java.lang.Throwable throwable)
           
 
Method Summary
 ErrorBundle getErrorMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizedException

public LocalizedException(ErrorBundle errorMessage,
                          java.lang.Throwable throwable)
Parameters:
errorMessage - The error message contains a detailed localized description of the error that caused the exception
throwable - The Throwable that caused this exception

LocalizedException

public LocalizedException(ErrorBundle errorMessage)
Parameters:
errorMessage - The error message contains a detailed localized description of the error that caused the exception
Method Detail

getErrorMessage

public ErrorBundle getErrorMessage()
Returns:
the detailed error message that describes this exception


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.