Code Search for Developers
 
 
  

package.html from Frame2 Web Application Framework at Krugle


Show package.html syntax highlighted

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--

  @(#)package.html   1.60 98/01/27

  Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road, 
  Palo Alto, California, 94303, U.S.A.  All Rights Reserved.

  This software is the confidential and proprietary information of Sun
  Microsystems, Inc. ("Confidential Information").  You shall not
  disclose such Confidential Information and shall use it only in
  accordance with the terms of the license agreement you entered into
  with Sun.

  CopyrightVersion 1.2

-->
</head>
<body bgcolor="white">

Provides error objects and collections of errors to be used by the framework.
<p>
Errors are used by the framework to indicate problems with event validation. Individual Error
objects are generally constructed using a resource message key, plus any substitutions
that need to be made in the message.<br><br>
For example, if there is an entry the application resource bundle like this:<br>
<code>some.error.message={0} messed up the {1}!</code><br><br>
An Error can be created in this manner:<br>
<code>Error err = ErrorFactory.createError("some.error.message", "Bob", "widget");</code><br><br>
The generated message (assuming a US locale) will be this:<br>
<code>Bob messed up the widget!</code>
</p>

<!--
<h2>Package Specification</h2>

##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####
<ul>
  <li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a>
</ul>

<h2>Related Documentation</h2>

For overviews, tutorials, examples, guides, and tool documentation, please see:
<ul>
  <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
</ul>
-->
<!-- Put @see and @since tags down here. -->
@since 1.0
</body>
</html>




See more files for this project here

Frame2 Web Application Framework

Frame2 is an alternative to using Struts for web application development. Frame2 also supports web services in an MVC context.

Project homepage: http://sourceforge.net/projects/frame2
Programming language(s): Java,JSP,XML
License: other

  impl/
    ErrorFactory.java
    ErrorImpl.java
    ErrorsFactory.java
    ErrorsImpl.java
    package.html
  Error.java
  Errors.java
  package.html