com.ibm.gcs.component
Class NLSRuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.ibm.gcs.component.NLSRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DB2ComponentException, IllegalMimeTypeException, ImplementationException, ImplementationException, InitializationException, OutOfResourceException, ScheduleException
- public class NLSRuntimeException
- extends java.lang.RuntimeException
This is the base class for all RuntimeException
s in GCS,
and provides NLS support for exception messages.
It uses the localization methods provided by the
NLSException
class.
- See Also:
- Serialized Form
Constructor Summary |
NLSRuntimeException()
creates a RuntimeException with no message (BAD!) |
NLSRuntimeException(java.lang.String messageKey)
creates a RuntimeException with an NLS message |
NLSRuntimeException(java.lang.String messageKey,
java.lang.Object[] parameters)
creates a RuntimeException with an NLS message with parameters |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NLSRuntimeException
public NLSRuntimeException()
- creates a
RuntimeException
with no message (BAD!)
NLSRuntimeException
public NLSRuntimeException(java.lang.String messageKey)
- creates a
RuntimeException
with an NLS message
NLSRuntimeException
public NLSRuntimeException(java.lang.String messageKey,
java.lang.Object[] parameters)
- creates a
RuntimeException
with an NLS message with parameters
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.