org.apache.struts.tiles
クラス TilesException

java.lang.Object
  拡張java.lang.Throwable
      拡張java.lang.Exception
          拡張org.apache.struts.tiles.TilesException
すべての実装インタフェース:
java.io.Serializable
直系の既知のサブクラス:
DefinitionsFactoryException

public class TilesException
extends java.lang.Exception

Root class for all Tiles-exceptions.

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

フィールドの概要
private  java.lang.Exception exception
          Any "wrapped" exception will be exposed when this is serialized.
 
クラス java.lang.Exception から継承したフィールド
 
クラス java.lang.Throwable から継承したフィールド
 
コンストラクタの概要
TilesException()
          Constructor.
TilesException(java.lang.Exception e)
          Create a new TilesException wrapping an existing exception.
TilesException(java.lang.String message)
          Constructor.
TilesException(java.lang.String message, java.lang.Exception e)
          Create a new TilesException from an existing exception.
 
メソッドの概要
 java.lang.Exception getException()
          Return the embedded exception, if any.
 java.lang.String getMessage()
          Return a detail message for this exception.
 
クラス 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
 

フィールドの詳細

exception

private java.lang.Exception exception
Any "wrapped" exception will be exposed when this is serialized.

コンストラクタの詳細

TilesException

public TilesException()
Constructor.


TilesException

public TilesException(java.lang.String message)
Constructor.

パラメータ:
message - The error or warning message.

TilesException

public TilesException(java.lang.Exception e)
Create a new TilesException wrapping an existing exception.

The existing exception will be embedded in the new one, and its message will become the default message for the TilesException.

パラメータ:
e - The exception to be wrapped.

TilesException

public TilesException(java.lang.String message,
                      java.lang.Exception e)
Create a new TilesException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

パラメータ:
message - The detail message.
e - The exception to be wrapped.
メソッドの詳細

getMessage

public java.lang.String getMessage()
Return a detail message for this exception.

If there is a embedded exception, and if the TilesException has no detail message of its own, this method will return the detail message from the embedded exception.

戻り値:
The error or warning message.

getException

public java.lang.Exception getException()
Return the embedded exception, if any.

戻り値:
The embedded exception, or null if there is none.


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation