|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
jp.hishidama.lang.IllegalArgumentLengthException
public class IllegalArgumentLengthException
引数の個数が間違っている場合にスローされる例外
| コンストラクタの概要 | |
|---|---|
IllegalArgumentLengthException(int len,
int min,
int max)
コンストラクター. |
|
IllegalArgumentLengthException(String message,
int len,
int min,
int max)
コンストラクター. |
|
| メソッドの概要 | |
|---|---|
int |
getLen()
引数の個数取得. |
int |
getMax()
許容個数の最大値取得. |
String |
getMessage()
|
int |
getMin()
許容個数の最小値取得. |
void |
setLen(int len)
引数の個数設定. |
void |
setMax(int max)
許容個数の最大値設定. |
void |
setMin(int min)
許容個数の最小値設定. |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public IllegalArgumentLengthException(int len,
int min,
int max)
len - 引数の個数min - 許容個数の最小値max - 許容個数の最大値
public IllegalArgumentLengthException(String message,
int len,
int min,
int max)
message - メッセージlen - 引数の個数min - 許容個数の最小値max - 許容個数の最大値| メソッドの詳細 |
|---|
public int getLen()
public void setLen(int len)
len - 引数の個数public int getMin()
public void setMin(int min)
min - 最小個数public int getMax()
public void setMax(int max)
max - 最大個数public String getMessage()
Throwable 内の getMessage
|
||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||