public abstract class RuntimeExceptionFactory extends ObjectSE
RuntimeExceptionFactory クラスは、メッセージのフォーマットとオプションの causesSE の利便性が追加された共通の RuntimeExceptionsSE を作成するためのファクトリです。RuntimeExceptionSE| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | NOT_IMPLEMENTED |
static StringSE | NOT_SUPPORTED |
| コンストラクターと説明 |
|---|
RuntimeExceptionFactory() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic static IllegalArgumentExceptionSE newIllegalArgumentException(StringSE message, ObjectSE... args)
message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。messageSE を使用した新しい IllegalArgumentExceptionSE。newIllegalArgumentException(Throwable, String, Object...), IllegalArgumentExceptionSEpublic static IllegalArgumentExceptionSE newIllegalArgumentException(ThrowableSE cause, StringSE message, ObjectSE... args)
causeSE、messageSE、argumentsSE を使用して IllegalArgumentExceptionSE を構築および初期化します。cause - IllegalArgumentExceptionSE がスローされた理由を識別する ThrowableSE。message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。causeSE と messageSE を使用した新しい IllegalArgumentExceptionSE。IllegalArgumentExceptionSEpublic static IllegalStateExceptionSE newIllegalStateException(StringSE message, ObjectSE... args)
message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。messageSE を使用した新しい IllegalStateExceptionSE。newIllegalStateException(Throwable, String, Object...), IllegalStateExceptionSEpublic static IllegalStateExceptionSE newIllegalStateException(ThrowableSE cause, StringSE message, ObjectSE... args)
cause - IllegalStateExceptionSE がスローされた理由を識別する ThrowableSE。message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。causeSE と messageSE を使用した新しい IllegalStateExceptionSE。IllegalStateExceptionSEpublic static RuntimeExceptionSE newRuntimeException(StringSE message, ObjectSE... args)
message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。messageSE を使用した新しい RuntimeExceptionSE。newRuntimeException(Throwable, String, Object...), RuntimeExceptionSEpublic static RuntimeExceptionSE newRuntimeException(ThrowableSE cause, StringSE message, ObjectSE... args)
cause - RuntimeExceptionSE がスローされた理由を識別する ThrowableSE。message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。causeSE と messageSE を使用した新しい RuntimeExceptionSE。RuntimeExceptionSEpublic static UnsupportedOperationExceptionSE newUnsupportedOperationException(StringSE message, ObjectSE... args)
message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。messageSE を使用した新しい UnsupportedOperationExceptionSE。newUnsupportedOperationException(Throwable, String, Object...), UnsupportedOperationExceptionSEpublic static UnsupportedOperationExceptionSE newUnsupportedOperationException(ThrowableSE cause, StringSE message, ObjectSE... args)
causeSE、messageSE、argumentsSE を使用して UnsupportedOperationExceptionSE を構築および初期化します。cause - UnsupportedOperationExceptionSE がスローされた理由を識別する ThrowableSE。message - exceptionSE を説明する StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。causeSE と messageSE を使用した新しい UnsupportedOperationExceptionSE。UnsupportedOperationExceptionSEprotected static StringSE format(StringSE message, ObjectSE... args)
argumentsSE を使用して、指定された messageSE をフォーマットします。message - フォーマットするメッセージパターンを含む StringSE。args - messageSE 内のフォーマットプレースホルダーを置き換えるために使用される argumentsSE の配列。messageSE。String.format(String, Object...)SE, MessageFormat.format(String, Object...)SECopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.