]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc/src/main/java/org/argeo/slc/core/UnsupportedException.java
2399a298932dc24bfa493171adfd8c3279f4e26b
[gpl/argeo-slc.git] / org.argeo.slc / src / main / java / org / argeo / slc / core / UnsupportedException.java
1 package org.argeo.slc.core;
2
3 public class UnsupportedException extends SlcException {
4 static final long serialVersionUID = 1l;
5
6 public UnsupportedException() {
7 this("Action not supported");
8 }
9
10 public UnsupportedException(String message) {
11 super(message);
12 }
13
14 public UnsupportedException(String nature, Object obj) {
15 super("Unsupported " + nature + ": " + obj.getClass());
16 }
17
18 public UnsupportedException(String nature, String value) {
19 super("Unsupported " + nature + ": " + value);
20 }
21
22 }