|
LHA Library for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
jp.gr.java_conf.dangan.io.NotEnoughBitsException
public class NotEnoughBitsException
要求されたビット数のデータを得られなかった場合に
投げられる例外。
BitDataBrokenException と違い、こちらの例外を
投げる場合には 実際には読み込み動作を行ってい
ないため、読み込み位置は例外を投げる前の時点と
同じである点に注意すること。
-- revision history --
$Log: NotEnoughBitsException.java,v $
Revision 1.0 2002/07/24 00:00:00 dangan
add to version control
[maintenance]
タブ廃止
ライセンス文の修正
| Constructor Summary | |
|---|---|
NotEnoughBitsException(int availableBits)
availableBits 使用可能であることを示す NotEnoughBitsException を構築する。 |
|
NotEnoughBitsException(java.lang.String message,
int availableBits)
availableBits 使用可能であることを示し、 詳細なメッセージを持つ NotEnoughBitsException を構築する。 |
|
| Method Summary | |
|---|---|
int |
getAvailableBits()
使用可能なビット数を得る。 この例外を投げたメソッドにおいて、現在使用可能なビット数を返す。 |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotEnoughBitsException(int availableBits)
availableBits - 使用可能なビット数
public NotEnoughBitsException(java.lang.String message,
int availableBits)
message - 詳細なメッセージavailableBits - 使用可能なビット数| Method Detail |
|---|
public int getAvailableBits()
|
LHA Library for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||