org.apache.commons.i18n
Class LocalizedError

java.lang.Object
  extended byorg.apache.commons.i18n.LocalizedBundle
      extended byorg.apache.commons.i18n.LocalizedText
          extended byorg.apache.commons.i18n.LocalizedMessage
              extended byorg.apache.commons.i18n.LocalizedError
All Implemented Interfaces:
Serializable

public class LocalizedError
extends LocalizedMessage

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.i18n.LocalizedMessage
TITLE
 
Fields inherited from class org.apache.commons.i18n.LocalizedText
TEXT
 
Fields inherited from class org.apache.commons.i18n.LocalizedBundle
arguments, ARGUMENTS, id, ID
 
Constructor Summary
LocalizedError(String messageId)
           
LocalizedError(String messageId, Object[] arguments)
           
 
Method Summary
 String getDetails()
           
 String getDetails(Locale locale)
           
 String getDetails(Locale locale, String defaultDetails)
           
 String getDetails(String defaultDetails)
           
 String getSummary()
           
 String getSummary(Locale locale)
           
 String getSummary(Locale locale, String defaultSummary)
           
 String getSummary(String defaultSummary)
           
 
Methods inherited from class org.apache.commons.i18n.LocalizedMessage
getTitle, getTitle, getTitle, getTitle
 
Methods inherited from class org.apache.commons.i18n.LocalizedText
getText, getText, 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
 

Constructor Detail

LocalizedError

public LocalizedError(String messageId)

LocalizedError

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

getSummary

public String getSummary()
                  throws MessageNotFoundException
Throws:
MessageNotFoundException

getSummary

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

getSummary

public String getSummary(String defaultSummary)

getSummary

public String getSummary(Locale locale,
                         String defaultSummary)

getDetails

public String getDetails()
                  throws MessageNotFoundException
Throws:
MessageNotFoundException

getDetails

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

getDetails

public String getDetails(String defaultDetails)

getDetails

public String getDetails(Locale locale,
                         String defaultDetails)


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