- * @param type
- * The type of the occured error
- */
- public SoneException(Type type) {
- this.type = type;
- }
-
- /**
- * Creates a new Sone exception.
- *
- * @param type
- * The type of the occured error
- * @param message
- * The message of the exception
- */
- public SoneException(Type type, String message) {
- super(message);
- this.type = type;
- }
-
- /**
- * Creates a new Sone exception.
- *
- * @param type
- * The type of the occured error