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

org.enodeframework.domain.AbstractDomainExceptionMessage.kt Maven / Gradle / Ivy

package org.enodeframework.domain

import com.google.common.collect.Maps
import org.enodeframework.common.exception.EnodeException
import org.enodeframework.common.utils.IdGenerator
import java.util.*

abstract class AbstractDomainExceptionMessage @JvmOverloads constructor(override var id: String = IdGenerator.id()) :
    EnodeException(), DomainExceptionMessage {
    override var timestamp: Date = Date()
    override var items: MutableMap = Maps.newHashMap()

    abstract override fun serializeTo(serializableInfo: MutableMap)
    abstract override fun restoreFrom(serializableInfo: MutableMap)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy