feat2
クラス FeatException

java.lang.Object
  拡張java.lang.Throwable
      拡張java.lang.Exception
          拡張feat2.FeatException
すべての実装インタフェース:
java.io.Serializable
直系の既知のサブクラス:
ApplicationException, CommandInstantiationException, FileUploadException, InitializationException, NotHandledException, PropertyAccessException, ResponseException, TemplateParsingException

public class FeatException
extends java.lang.Exception

関連項目:
直列化された形式

フィールドの概要
static int LEVEL_ERROR
          ユーザセッションを続行できない、またはレスポンスを返すことができないくらいのエラー
static int LEVEL_FATAL
          ウェブアプリケーションを続行できないくらいのエラー
static int LEVEL_WARN
          ユーザセッション、ウェブアプリケーションを続行できるエラー
 
コンストラクタの概要
FeatException()
           
FeatException(java.lang.String messageId)
           
FeatException(java.lang.String message, int level)
           
FeatException(java.lang.String messageId, java.lang.Throwable cause)
           
FeatException(java.lang.String message, java.lang.Throwable cause, int level)
           
FeatException(java.lang.Throwable cause)
           
FeatException(java.lang.Throwable cause, int level)
           
 
メソッドの概要
 void addKeyword(java.lang.String key, java.lang.String word)
          メッセージ中のキーワード置き換えを追加する。
 int getLevel()
           
 java.lang.String getMessage()
          メッセージIDに対応するエラーメッセージを返す。
 java.lang.String getMessageId()
           
 
クラス java.lang.Throwable から継承したメソッド
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

LEVEL_WARN

public static final int LEVEL_WARN
ユーザセッション、ウェブアプリケーションを続行できるエラー

関連項目:
定数フィールド値

LEVEL_ERROR

public static final int LEVEL_ERROR
ユーザセッションを続行できない、またはレスポンスを返すことができないくらいのエラー

関連項目:
定数フィールド値

LEVEL_FATAL

public static final int LEVEL_FATAL
ウェブアプリケーションを続行できないくらいのエラー

関連項目:
定数フィールド値
コンストラクタの詳細

FeatException

public FeatException(java.lang.Throwable cause,
                     int level)

FeatException

public FeatException(java.lang.String message,
                     int level)

FeatException

public FeatException(java.lang.String message,
                     java.lang.Throwable cause,
                     int level)

FeatException

public FeatException()

FeatException

public FeatException(java.lang.String messageId,
                     java.lang.Throwable cause)

FeatException

public FeatException(java.lang.String messageId)

FeatException

public FeatException(java.lang.Throwable cause)
メソッドの詳細

getLevel

public int getLevel()

getMessageId

public java.lang.String getMessageId()

addKeyword

public void addKeyword(java.lang.String key,
                       java.lang.String word)
メッセージ中のキーワード置き換えを追加する。

パラメータ:
key -
word -

getMessage

public java.lang.String getMessage()
メッセージIDに対応するエラーメッセージを返す。 リソースマネージャはデフォルトのFileResourceManagerが使われる。 リソースが見つからないときはリソースIDを返す。