APIdia Launch Partner
Top Description Fields Constructors Methods
net.ucanaccess.exception

public Class UcanaccessRuntimeException

extends RuntimeException
Class Inheritance

Unspecific Ucanaccess run-time exception.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public static <T> T
requireNonNull(T obj, String message)

public static void
throwNow(String
exception message
message
)

Convenience method to throw a UcanaccessRuntimeException with the specified error message.

public static void
throwNow(String message, Throwable cause)

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

UcanaccessRuntimeExceptionback to summary
public UcanaccessRuntimeException(String message)
UcanaccessRuntimeExceptionback to summary
public UcanaccessRuntimeException(Throwable cause)
UcanaccessRuntimeExceptionback to summary
public UcanaccessRuntimeException(String message, Throwable cause)

Method Detail

requireNonNullback to summary
public static <T> T requireNonNull(T obj, String message)
throwNowback to summary
public static void throwNow(String message)

Convenience method to throw a UcanaccessRuntimeException with the specified error message.
Using this method rather than throw new avoids blocks in lambdas.

Parameters
message:String

exception message

throwNowback to summary
public static void throwNow(String message, Throwable cause)