Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public class RuntimeException
Known subtypesInferenceException, VisionException, HealthConfigurationException, GrpcException, AsyncMedia.MediaException, PersistenceException, CryptoException, AsyncResource.AsyncExecutionException, AsyncResource.CancellationException, RESyntaxException, ArithmeticException, ArrayStoreException, ClassCastException, IllegalArgumentException, IllegalMonitorStateException, IllegalStateException, IndexOutOfBoundsException, NegativeArraySizeException, NullPointerException, SecurityException, UnsupportedOperationException, IncompleteAnnotationException, DateTimeException, ConcurrentModificationException, EmptyStackException, NoSuchElementException
Constructors
public RuntimeException() | Constructs a RuntimeException with no detail message. |
public RuntimeException(String s) | Constructs a RuntimeException with the specified detail message. |
public RuntimeException(Throwable cause) | Constructs a RuntimeException with specified cause. |
public RuntimeException(String s, Throwable cause) | Constructs a RuntimeException with the specified detail message and cause. |
Inherited methods
Constructor details
RuntimeException
public RuntimeException()RuntimeException
public RuntimeException(String s)RuntimeException
public RuntimeException(Throwable cause)Parameters
causeThrowable- The cause of the exception.
RuntimeException
public RuntimeException(String s, Throwable cause)