chore: change no field exception msg

This commit is contained in:
ReaJason
2025-11-20 00:36:25 +08:00
parent 4563a97ceb
commit 0111d50616
14 changed files with 14 additions and 14 deletions
@@ -71,6 +71,6 @@ public class AntSword extends ClassLoader {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
}
@@ -85,7 +85,7 @@ public class Behinder extends ClassLoader {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -70,7 +70,7 @@ public class BehinderControllerHandler extends ClassLoader implements Controller
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -76,7 +76,7 @@ public class BehinderFilter extends ClassLoader implements Filter {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -73,7 +73,7 @@ public class BehinderInterceptor extends ClassLoader implements AsyncHandlerInte
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -94,7 +94,7 @@ public class BehinderJettyHandler extends ClassLoader {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -77,7 +77,7 @@ public class BehinderListener extends ClassLoader implements ServletRequestListe
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -73,7 +73,7 @@ public class BehinderServlet extends ClassLoader implements Servlet {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -79,7 +79,7 @@ public class BehinderUndertowServletHandler extends ClassLoader {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -75,7 +75,7 @@ public class BehinderValve extends ClassLoader implements Valve {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
@SuppressWarnings("all")
@@ -63,6 +63,6 @@ public class Command {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
}
@@ -108,6 +108,6 @@ public class NeoreGeorg extends ClassLoader {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
}
@@ -78,7 +78,7 @@ public class Suo5 implements Runnable, HostnameVerifier, X509TrustManager {
clazz = clazz.getSuperclass();
}
}
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
public void readFull(InputStream is, byte[] b) throws IOException, InterruptedException {
@@ -34,7 +34,7 @@ public class ShellCommonUtil {
}
}
if (returnValue == null) {
throw new NoSuchFieldException();
throw new NoSuchFieldException(obj.getClass().getName() + " Field not found: " + name);
}
}
}