public class NoResourceException extends IORuntimeException
| Constructor and Description |
|---|
NoResourceException(String message) |
NoResourceException(String messageTemplate,
Object... params) |
NoResourceException(String message,
Throwable throwable) |
NoResourceException(Throwable e) |
NoResourceException(Throwable throwable,
String messageTemplate,
Object... params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
causeInstanceOf(Class<? extends Throwable> clazz)
导致这个异常的异常是否是指定类型的异常
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoResourceException(Throwable e)
public NoResourceException(String message)
public boolean causeInstanceOf(Class<? extends Throwable> clazz)
causeInstanceOf in class IORuntimeExceptionclazz - 异常类Copyright © 2025. All rights reserved.