Merge branch 'exceptionsheritage' into etape4
commit
cc8997b65b
@ -1,4 +0,0 @@
|
||||
package exception;
|
||||
public class SocketClosed extends Exception {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package exception;
|
||||
public class TransmissionError extends Exception {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package exception;
|
||||
public class VersionError extends Exception {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
package exception;
|
||||
public class InternalError extends Exception {
|
||||
|
||||
public class localException extends Exception {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
package exception;
|
||||
public class ProtocolError extends Exception {
|
||||
|
||||
public class remoteException extends Exception {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
public class InternalError extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
public class ProtocolError extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,5 +1,9 @@
|
||||
package exception;
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
|
||||
/** Used on reception side when size as set in Packet is too big, and we cant store this in a int/long as usual. */
|
||||
public class SizeError extends Exception {
|
||||
public class SizeError extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
public class SocketClosed extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
public class TransmissionError extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package localException;
|
||||
|
||||
import exception.localException;
|
||||
|
||||
public class VersionError extends exception.localException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class EmptyDirectory extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class EmptyDirectory extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class EmptyFile extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class EmptyFile extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class InternalRemoteError extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class InternalRemoteError extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class NotFound extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class NotFound extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class ProtocolRemoteError extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class ProtocolRemoteError extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
package remoteException;
|
||||
public class VersionRemoteError extends Exception {
|
||||
|
||||
import exception.remoteException;
|
||||
|
||||
public class VersionRemoteError extends exception.remoteException {
|
||||
private static final long serialVersionUID = 12L;
|
||||
}
|
||||
|
Loading…
Reference in New Issue