Classes Files

com::wombat::mama::MamaException

More…

Inherits from RuntimeException, Serializable

Inherited by com.wombat.mama.MamaFieldTypeException, com.wombat.mama.MamaNoEntitlementsForUserException, com.wombat.mama.MamaNotEntitledException

Public Functions

  Name
  MamaException(final String message, final Throwable cause)
  MamaException(final Throwable cause)
  MamaException(final String message)

Detailed Description

class com::wombat::mama::MamaException;

This is the superclass for all MAMA exceptions.

Public Functions Documentation

function MamaException

inline MamaException(
    final String message,
    final Throwable cause
)

Parameters:

  • message the detail message (which is saved for later retrieval by the [getMessage()] method).
  • cause the cause (which is saved for later retrieval by the [getCause()] method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Constructs a new runtime exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception’s detail message.

function MamaException

inline MamaException(
    final Throwable cause
)

Parameters:

  • cause the cause

Constructs a new runtime exception with the specified cause and a detail message. This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

function MamaException

inline MamaException(
    final String message
)

Parameters:

  • message

Create a [MamaException](classcom_1_1wombat_1_1mama_1_1MamaException.html) with the specified message.


Updated on 2023-03-31 at 15:29:42 +0100