public class DecodeException extends ExceptionSE
コンストラクターと説明 |
---|
DecodeException(ByteBufferSE bb, StringSE message) デコードできない ByteBuffer を指定して DecodedException を構築し、その理由を説明します。 |
DecodeException(ByteBufferSE bb, StringSE message, ThrowableSE cause) デコードできなかったバイナリデータ、およびデコードに失敗した理由と原因を含むコンストラクター。 |
DecodeException(StringSE encodedString, StringSE message) デコードできない所定のエンコードされた文字列とその理由で DecodedException を構築します。 |
DecodeException(StringSE encodedString, StringSE message, ThrowableSE cause) デコードできなかったテキストデータ、およびデコードに失敗した理由と原因を含むコンストラクター。 |
修飾子と型 | メソッドと説明 |
---|---|
ByteBufferSE | getBytes() デコードできなかったメッセージ全体またはメッセージの一部を含む ByteBuffer を返します。この例外がテキストメッセージのデコードに失敗した場合は null を返します。 |
StringSE | getText() メッセージ全体またはデコードできなかった部分的なメッセージのいずれかであるエンコードされた文字列、またはこの例外がバイナリメッセージのデコードに失敗した場合は null を返します。 |
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public DecodeException(ByteBufferSE bb, StringSE message, ThrowableSE cause)
bb
- デコードできなかったメッセージ(の一部)を含むバイトバッファ message
- 失敗の理由。cause
- エラーの原因。public DecodeException(StringSE encodedString, StringSE message, ThrowableSE cause)
encodedString
- デコードできなかったメッセージ(の一部)を表す文字列。message
- 失敗の理由。cause
- エラーの原因。public DecodeException(ByteBufferSE bb, StringSE message)
bb
- デコードできなかったメッセージ(の一部)を含むバイトバッファ message
- 失敗の理由。public ByteBufferSE getBytes()
null
を返します。null
がテキストメッセージの失敗を示しています。public StringSE getText()
null
を返します。null
。Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.