Interface ExceptionData<EX extends Exception>

Type Parameters:
EX - Concrete type of wrapped exception.
All Superinterfaces:
Serializable, org.fuin.objects4j.common.ToExceptionCapable<EX>, org.fuin.objects4j.common.ValueObject

public interface ExceptionData<EX extends Exception> extends Serializable, org.fuin.objects4j.common.ValueObject, org.fuin.objects4j.common.ToExceptionCapable<EX>
Base for all classes that store data from an exception for marshalling and allowing to recreate it after unmarshalling. The idea is to transport an exception from the server to the client (without stack trace) and recreate it to be thrown on the client.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the data attribute.

    Methods inherited from interface org.fuin.objects4j.common.ToExceptionCapable

    toException
  • Method Details

    • getDataElement

      String getDataElement()
      Returns the name of the data attribute.
      Returns:
      Data element name.