org.apache.commons.i18n
Class LocalizedRuntimeException

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

public class LocalizedRuntimeException
extends java.lang.RuntimeException

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

See Also:
Serialized Form

Constructor Summary
LocalizedRuntimeException(ErrorBundle errorMessage)
           
LocalizedRuntimeException(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

LocalizedRuntimeException

public LocalizedRuntimeException(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

LocalizedRuntimeException

public LocalizedRuntimeException(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.