All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yakworks.api.problem.data.DataProblemException.groovy Maven / Gradle / Ivy

There is a newer version: 3.14
Show newest version
/*
* Copyright 2019 original authors
* SPDX-License-Identifier: Apache-2.0
*/
package yakworks.api.problem.data

import groovy.transform.CompileStatic

import yakworks.api.problem.ThrowableProblem

/**
 * generic problem
 */
@SuppressWarnings('ConfusingClassNamedException')
@CompileStatic
class DataProblemException extends ThrowableProblem {

    DataProblemException() {super()}
    DataProblemException(Throwable cause) {super(cause)}

    Object getEntity(){ (problem as DataProblemTrait).getEntity() }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy