Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.util.error
Class I18NException  view I18NException download I18NException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byopenfuture.util.error.I18NException
All Implemented Interfaces:
java.io.Serializable

public class I18NException
extends java.lang.Exception

Exception containing the (internationalizable) description of the reason why this exception occured and the resulting situation. (After ideas from Bug Base).

Created: Wed Nov 01 17:03:53 2000

Version:
$Revision: 1.2 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Object[] reasonArgs
           
private  java.lang.String reasonKey
           
private  java.lang.Object[] resultArgs
           
private  java.lang.String resultKey
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
I18NException(java.lang.String resultKey, java.lang.Object[] resultArgs, java.lang.String reasonKey, java.lang.Object[] reasonArgs)
          Create a new instance.
 
Method Summary
 java.lang.String getMessage()
          Overrides the method of the superclass.
 java.lang.Object[] getReasonArgs()
          Get the value of reasonArgs.
 java.lang.String getReasonKey()
          Get the value of reasonKey.
 java.lang.Object[] getResultArgs()
          Get the value of resultArgs.
 java.lang.String getResultKey()
          Get the value of resultKey.
 void setReasonArgs(java.lang.Object[] v)
          Set the value of reasonArgs.
 void setReasonKey(java.lang.String v)
          Set the value of reasonKey.
 void setResultArgs(java.lang.Object[] v)
          Set the value of resultArgs.
 void setResultKey(java.lang.String v)
          Set the value of resultKey.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reasonKey

private java.lang.String reasonKey

reasonArgs

private java.lang.Object[] reasonArgs

resultKey

private java.lang.String resultKey

resultArgs

private java.lang.Object[] resultArgs
Constructor Detail

I18NException

public I18NException(java.lang.String resultKey,
                     java.lang.Object[] resultArgs,
                     java.lang.String reasonKey,
                     java.lang.Object[] reasonArgs)
Create a new instance.

Method Detail

getReasonKey

public java.lang.String getReasonKey()
Get the value of reasonKey.


setReasonKey

public void setReasonKey(java.lang.String v)
Set the value of reasonKey.


getReasonArgs

public java.lang.Object[] getReasonArgs()
Get the value of reasonArgs.


setReasonArgs

public void setReasonArgs(java.lang.Object[] v)
Set the value of reasonArgs.


getResultKey

public java.lang.String getResultKey()
Get the value of resultKey.


setResultKey

public void setResultKey(java.lang.String v)
Set the value of resultKey.


getResultArgs

public java.lang.Object[] getResultArgs()
Get the value of resultArgs.


setResultArgs

public void setResultArgs(java.lang.Object[] v)
Set the value of resultArgs.


getMessage

public java.lang.String getMessage()
Overrides the method of the superclass. Reports resulting situation and its reason.