org.apache.commons.i18n.bundles
Class ErrorBundle

java.lang.Object
  extended byorg.apache.commons.i18n.LocalizedBundle
      extended byorg.apache.commons.i18n.bundles.TextBundle
          extended byorg.apache.commons.i18n.bundles.MessageBundle
              extended byorg.apache.commons.i18n.bundles.ErrorBundle
All Implemented Interfaces:
Serializable

public class ErrorBundle
extends MessageBundle

See Also:
Serialized Form

Field Summary
static String DETAILS
           
static String SUMMARY
           
 
Fields inherited from class org.apache.commons.i18n.bundles.MessageBundle
TITLE
 
Fields inherited from class org.apache.commons.i18n.bundles.TextBundle
TEXT
 
Fields inherited from class org.apache.commons.i18n.LocalizedBundle
arguments, ARGUMENTS, id, ID
 
Constructor Summary
ErrorBundle(String messageId)
           
ErrorBundle(String messageId, Object[] arguments)
           
 
Method Summary
 String getDetails(Locale locale)
           
 String getDetails(Locale locale, String defaultDetails)
           
 String getSummary(Locale locale)
           
 String getSummary(Locale locale, String defaultSummary)
           
 
Methods inherited from class org.apache.commons.i18n.bundles.MessageBundle
getTitle, getTitle
 
Methods inherited from class org.apache.commons.i18n.bundles.TextBundle
getText, getText
 
Methods inherited from class org.apache.commons.i18n.LocalizedBundle
getArguments, getId, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUMMARY

public static final String SUMMARY
See Also:
Constant Field Values

DETAILS

public static final String DETAILS
See Also:
Constant Field Values
Constructor Detail

ErrorBundle

public ErrorBundle(String messageId)

ErrorBundle

public ErrorBundle(String messageId,
                   Object[] arguments)
Method Detail

getSummary

public String getSummary(Locale locale)
                  throws MessageNotFoundException
Throws:
MessageNotFoundException

getSummary

public String getSummary(Locale locale,
                         String defaultSummary)

getDetails

public String getDetails(Locale locale)
                  throws MessageNotFoundException
Throws:
MessageNotFoundException

getDetails

public String getDetails(Locale locale,
                         String defaultDetails)


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