Top Description Fields Constructors
jakarta.data.exceptions

public Class MappingException

extends DataException
Class Inheritance

A mapping exception is one thrown if an issue exists at runtime or build time in the data mapping.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
MappingException(String
the detail message.
message
)

Constructs a new MappingException exception with the specified detail message.

public
MappingException(String
the detail message.
message
,
Throwable
another exception or error that caused this exception. Null indicates that no other cause is specified.
cause
)

Constructs a new MappingException exception with the specified detail message.

public
MappingException(Throwable
the cause.
cause
)

Constructs a new MappingException exception with the specified cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.data.exceptions.DataException.serialVersionUID.

Constructor Detail

MappingExceptionback to summary
public MappingException(String message)

Constructs a new MappingException exception with the specified detail message.

Parameters
message:String

the detail message.

MappingExceptionback to summary
public MappingException(String message, Throwable cause)

Constructs a new MappingException exception with the specified detail message.

Parameters
message:String

the detail message.

cause:Throwable

another exception or error that caused this exception. Null indicates that no other cause is specified.

MappingExceptionback to summary
public MappingException(Throwable cause)

Constructs a new MappingException exception with the specified cause.

Parameters
cause:Throwable

the cause.