parent
4055ac56ef
commit
7e3644ddbd
@ -1,25 +1,22 @@ |
||||
package net.pokeranalytics.android.exceptions |
||||
|
||||
class ModelException(message: String) : Exception(message) { |
||||
|
||||
} |
||||
|
||||
class FormattingException(message: String) : Exception(message) { |
||||
|
||||
} |
||||
|
||||
class RowRepresentableEditDescriptorException(message: String) : Exception(message) { |
||||
|
||||
} |
||||
|
||||
class FilterValueMapException(message: String) : Exception(message) { |
||||
init { |
||||
println("FilterValueMapException(): $message") |
||||
} |
||||
} |
||||
|
||||
class FilterMissingEntityException(message: String) : Exception(message) |
||||
class FilterUnhandledEntityException(message : String) : Exception(message) |
||||
class ConfigurationException(message: String) : Exception(message) { |
||||
|
||||
import net.pokeranalytics.android.ui.view.rowrepresentable.FilterElementRow |
||||
|
||||
class ModelException(message: String) : Exception(message) |
||||
class FormattingException(message: String) : Exception(message) |
||||
class RowRepresentableEditDescriptorException(message: String) : Exception(message) |
||||
|
||||
class ConfigurationException(message: String) : Exception(message) |
||||
|
||||
sealed class PokerAnalyticsException(message: String) : Exception(message) { |
||||
object FilterElementUnknownName : PokerAnalyticsException(message = "No filterElement name was found to identify the queryType") |
||||
object FilterElementUnknownSectionName: PokerAnalyticsException(message = "No filterElement section name was found to identify the queryType") |
||||
object FilterMissingEntity: PokerAnalyticsException(message = "This filter has no entity initialized") |
||||
object FilterUnhandledEntity : PokerAnalyticsException(message = "This entity is not filterable") |
||||
object QueryValueMapUnknown: PokerAnalyticsException(message = "fieldName is missing") |
||||
object QueryTypeUnhandled: PokerAnalyticsException(message = "filter type not handled") |
||||
object QueryValueMapUnexpectedValue: PokerAnalyticsException(message = "valueMap null not expected") |
||||
object FilterElementExpectedValueMissing : PokerAnalyticsException(message = "filter is empty or null") |
||||
data class QueryValueMapMissingKeys(val missingKeys: List<String>) : PokerAnalyticsException(message = "valueMap does not contain $missingKeys") |
||||
data class UnknownQueryTypeForRow(val filterElementRow: FilterElementRow) : PokerAnalyticsException(message = "no filter type for $filterElementRow") |
||||
} |
||||
Loading…
Reference in new issue