Initial commit

This commit is contained in:
Dave
2014-12-16 01:01:48 +02:00
commit 38c2d0de5d
30 changed files with 1377 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoByteSetBadDecryptionException extends Exception {
private static final long serialVersionUID = -8579497499272656543L;
public NoByteSetBadDecryptionException() {
super();
}
public NoByteSetBadDecryptionException(Exception e) {
super(e);
}
}

View File

@@ -0,0 +1,18 @@
package nodash.exceptions;
import nodash.models.NoInfluence;
public class NoCannotGetInfluenceException extends NoDashException {
private static final long serialVersionUID = 4581361079067540974L;
private NoInfluence returnable;
public NoCannotGetInfluenceException(NoInfluence returnable) {
super();
this.returnable = returnable;
}
public NoInfluence getResponseInfluence() {
return returnable;
}
}

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoDashException extends Exception {
private static final long serialVersionUID = -8579497499272656543L;
public NoDashException() {
super();
}
public NoDashException(Exception e) {
super(e);
}
}

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoDashFatalException extends RuntimeException {
private static final long serialVersionUID = -8254102569327237811L;
public NoDashFatalException(Exception e) {
super(e);
}
public NoDashFatalException(String string) {
super(string);
}
}

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoDashSessionBadUUID extends Exception {
private static final long serialVersionUID = -402131397575158344L;
public NoDashSessionBadUUID() {
super();
}
public NoDashSessionBadUUID(Exception e) {
super(e);
}
}

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoDashTemporaryError extends Exception {
private static final long serialVersionUID = 7940405670235375662L;
public NoDashTemporaryError() {
super();
}
public NoDashTemporaryError(Exception e) {
super(e);
}
}

View File

@@ -0,0 +1,5 @@
package nodash.exceptions;
public class NoSessionAlreadyAwaitingConfirmationException extends NoDashException {
private static final long serialVersionUID = 6046203718016296554L;
}

View File

@@ -0,0 +1,5 @@
package nodash.exceptions;
public class NoSessionConfirmedException extends NoDashException {
private static final long serialVersionUID = -8065331145629402524L;
}

View File

@@ -0,0 +1,5 @@
package nodash.exceptions;
public class NoSessionExpiredException extends NoDashException {
private static final long serialVersionUID = -541733773743173644L;
}

View File

@@ -0,0 +1,5 @@
package nodash.exceptions;
public class NoSessionNotAwaitingConfirmationException extends NoDashException {
private static final long serialVersionUID = -2563955621281305198L;
}

View File

@@ -0,0 +1,5 @@
package nodash.exceptions;
public class NoSessionNotChangedException extends NoDashException {
private static final long serialVersionUID = 8049751796255114602L;
}

View File

@@ -0,0 +1,6 @@
package nodash.exceptions;
public class NoUserAlreadyOnlineException extends NoDashException {
private static final long serialVersionUID = -2922060333175653034L;
}

View File

@@ -0,0 +1,13 @@
package nodash.exceptions;
public class NoUserNotValidException extends NoDashException {
private static final long serialVersionUID = -6432604940919299965L;
public NoUserNotValidException(Exception e) {
super(e);
}
public NoUserNotValidException() {
}
}