net.sf.whatsnew.exceptions
Class AppException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--net.sf.whatsnew.exceptions.AppException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidOptionValue
- public class AppException
- extends java.lang.Exception
Application Level exception
- Version:
- $Id: AppException.java,v 1.1 2004/05/13 01:22:39 dquintela Exp $
- Author:
- Diogo Quintela
- See Also:
- Serialized Form
|
Constructor Summary |
AppException()
Creates a new AppException object. |
AppException(java.lang.String key)
Creates a new AppException object, with message identified with
key |
AppException(java.lang.String value,
boolean useBundle)
Creates a new AppException object. |
|
Method Summary |
void |
print(boolean debug)
Prints exception |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AppException
public AppException()
- Creates a new AppException object.
AppException
public AppException(java.lang.String key)
- Creates a new AppException object, with message identified with
key
- Parameters:
key - the detail message.- See Also:
Messages
AppException
public AppException(java.lang.String value,
boolean useBundle)
- Creates a new AppException object.
- Parameters:
value - The value for the key or the messageuseBundle - true, value will be used as message
identifier, false, value will be message associated
with exception- See Also:
Messages
print
public void print(boolean debug)
- Prints exception
- Parameters:
debug - Debug on or off
Copyright © 2004 Sourceforge. All Rights Reserved.