SurfaceException .java

com.mojang.renderpearl.api.device.SurfaceException (class, 16 lines): extends Exception. imports: EnvType.

com.mojang.renderpearl.api.deviceclass16 linesclientextends Exception336 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Full Source

SurfaceException.java16 lines · Minecraft 26.3 · verbatim
1
package com.mojang.renderpearl.api.device;
2
3
import net.fabricmc.api.EnvType;
4
import net.fabricmc.api.Environment;
5
6
@Environment(EnvType.CLIENT)
7
public class SurfaceException extends Exception {
8
	public SurfaceException(final String message) {
9
		super(message);
10
	}
11
12
	public SurfaceException(final Throwable cause) {
13
		super(cause);
14
	}
15
}
16

Decompiled Minecraft 26.3 source of SurfaceException (com/mojang/renderpearl/api/device/SurfaceException.java) with Mojang official mappings, stored verbatim on the site.