Java Doc for ScarabException.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Issue Tracking » scarab 0.21 » org.tigris.scarab.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.util.ScarabException

All known Subclasses:   org.tigris.scarab.util.ValidationException,  org.tigris.scarab.util.word.ComplexQueryException,  org.tigris.scarab.util.word.MaxConcurrentSearchException,  org.tigris.scarab.da.DAException,  org.tigris.scarab.reports.IncompatibleMITListException,
ScarabException
public class ScarabException extends TurbineException (Code)
This class extends TurbineException and does not change its functionality. It should be used to mark Scarab specific exceptions. In order to ensure localization of Exception messages, ScarabException adds a new type of message, the L10NMessage.
author:
   John D. McNally
version:
   $Id: ScarabException.java 10176 2006-06-15 09:39:17Z dabbous $



Constructor Summary
public  ScarabException(LocalizationKey theKey)
     Constructs a new ScarabException with specified resource and no parameters.
public  ScarabException(LocalizationKey theKey, Throwable nested)
     Constructs a new ScarabException with specified resource and a nested Throwable.
public  ScarabException(Localizable theL10nInstance)
     Constructs a new ScarabException with specified Localizable .
public  ScarabException(Localizable theL10nInstance, Throwable nested)
     Constructs a new ScarabException with specified Localizable and a nested Throwable.
public  ScarabException(LocalizationKey theKey, Object[] theParams)
     Constructs a new ScarabException with specified resource and a list of parameters.
public  ScarabException(LocalizationKey theKey, Object p1)
     convenience constructor: Constructs a new ScarabException with specified resource and one parameter.
public  ScarabException(LocalizationKey theKey, Object p1, Object p2)
     convenience constructor: Constructs a new ScarabException with specified resource and two parameters.
public  ScarabException(LocalizationKey theKey, Object p1, Object p2, Object p3)
     convenience constructor: Constructs a new ScarabException with specified resource and three parameters.
public  ScarabException(LocalizationKey theKey, Throwable nested, Object[] theParams)
     convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and an aritrary set of parameters.
public  ScarabException(LocalizationKey theKey, Throwable nested, Object p1)
     convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and one parameter.
public  ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2)
     convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and two parameters.
public  ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2, Object p3)
     convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and three parameters.

Method Summary
public  LocalizablegetL10nMessage()
     return the L10NInstance, or null, if no L10N key was given.
public  StringgetLocalizedMessage()
    
public  StringgetMessage(ScarabLocalizationTool l10n)
     return the localized message by use of the given ScarabLocalizationTool.
public  StringgetMessage()
     return the localized message in english. Note: It is preferrable to use ScarabException.getMessage(ScarabLocalizationTool) getMessage Currently it is possible, that a ScarabException contains NO L10NInstance.
public  voidsetLocalizer(ScarabLocalizationTool localizer)
     Setter for property l10n.


Constructor Detail
ScarabException
public ScarabException(LocalizationKey theKey)(Code)
Constructs a new ScarabException with specified resource and no parameters.
Parameters:
  theKey - the l10n error key.



ScarabException
public ScarabException(LocalizationKey theKey, Throwable nested)(Code)
Constructs a new ScarabException with specified resource and a nested Throwable.
Parameters:
  theKey - the l10n error key.
Parameters:
  nested -



ScarabException
public ScarabException(Localizable theL10nInstance)(Code)
Constructs a new ScarabException with specified Localizable .
Parameters:
  theL10nInstance - the l10n error key.



ScarabException
public ScarabException(Localizable theL10nInstance, Throwable nested)(Code)
Constructs a new ScarabException with specified Localizable and a nested Throwable.
Parameters:
  theL10nInstance - the l10n error key.
Parameters:
  nested -



ScarabException
public ScarabException(LocalizationKey theKey, Object[] theParams)(Code)
Constructs a new ScarabException with specified resource and a list of parameters.
Parameters:
  theL10nInstance - the l10n error key.
Parameters:
  theParams -



ScarabException
public ScarabException(LocalizationKey theKey, Object p1)(Code)
convenience constructor: Constructs a new ScarabException with specified resource and one parameter.
Parameters:
  theL10nInstance - the l10n error key.
Parameters:
  p1 -



ScarabException
public ScarabException(LocalizationKey theKey, Object p1, Object p2)(Code)
convenience constructor: Constructs a new ScarabException with specified resource and two parameters.
Parameters:
  theL10nInstance - the l10n error key.
Parameters:
  p1 -
Parameters:
  p2 -



ScarabException
public ScarabException(LocalizationKey theKey, Object p1, Object p2, Object p3)(Code)
convenience constructor: Constructs a new ScarabException with specified resource and three parameters.
Parameters:
  theL10nInstance - the l10n error key.
Parameters:
  p1 -
Parameters:
  p2 -
Parameters:
  p3 -



ScarabException
public ScarabException(LocalizationKey theKey, Throwable nested, Object[] theParams)(Code)
convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and an aritrary set of parameters.
Parameters:
  theKey -
Parameters:
  nested -
Parameters:
  theParams -



ScarabException
public ScarabException(LocalizationKey theKey, Throwable nested, Object p1)(Code)
convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and one parameter.
Parameters:
  theKey -
Parameters:
  nested -
Parameters:
  p1 -



ScarabException
public ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2)(Code)
convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and two parameters.
Parameters:
  theKey -
Parameters:
  nested -
Parameters:
  p1 -
Parameters:
  p2 -



ScarabException
public ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2, Object p3)(Code)
convenience constructor: Constructs a new ScarabException with specified resource, nested Throwable and three parameters.
Parameters:
  theKey -
Parameters:
  nested -
Parameters:
  p1 -
Parameters:
  p2 -
Parameters:
  p3 -




Method Detail
getL10nMessage
public Localizable getL10nMessage()(Code)
return the L10NInstance, or null, if no L10N key was given.



getLocalizedMessage
public String getLocalizedMessage()(Code)



getMessage
public String getMessage(ScarabLocalizationTool l10n)(Code)
return the localized message by use of the given ScarabLocalizationTool. For further infos see ScarabException.getMessage() getMessage
Parameters:
  l10n -



getMessage
public String getMessage()(Code)
return the localized message in english. Note: It is preferrable to use ScarabException.getMessage(ScarabLocalizationTool) getMessage Currently it is possible, that a ScarabException contains NO L10NInstance. This is due to the deprecated constructors ScarabException.ScarabException() ScarabException and ScarabException.ScarabException(String) ScarabException Eventually (after these constructors have been deleted from the code base) we guarantee, that ScarabException is fully localized. localized english text



setLocalizer
public void setLocalizer(ScarabLocalizationTool localizer)(Code)
Setter for property l10n.
Parameters:
  l10n - New value of property l10n.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.