Étape 4 #46

Merged
louis_royer merged 48 commits from etape4 into master 2020-03-24 17:42:56 +01:00
14 changed files with 59 additions and 12 deletions
Showing only changes of commit 05be51d604 - Show all commits

View File

@ -0,0 +1,5 @@
package exception;
public class localException extends Exception {
private static final long serialVersionUID = 12L;
}

View File

@ -0,0 +1,5 @@
package exception;
public class remoteException extends Exception {
private static final long serialVersionUID = 12L;
}

View File

@ -1,4 +1,7 @@
package localException;
public class InternalError extends Exception {
import exception.localException;
public class InternalError extends exception.localException {
private static final long serialVersionUID = 12L;
}

View File

@ -1,4 +1,7 @@
package localException;
public class ProtocolError extends Exception {
import exception.localException;
public class ProtocolError extends exception.localException {
private static final long serialVersionUID = 12L;
}

View File

@ -1,5 +1,9 @@
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;
}

View File

@ -1,4 +1,7 @@
package localException;
public class SocketClosed extends Exception {
import exception.localException;
public class SocketClosed extends exception.localException {
private static final long serialVersionUID = 12L;
}

View File

@ -1,4 +1,7 @@
package localException;
public class TransmissionError extends Exception {
import exception.localException;
public class TransmissionError extends exception.localException {
private static final long serialVersionUID = 12L;
}

View File

@ -1,4 +1,7 @@
package localException;
public class VersionError extends Exception {
import exception.localException;
public class VersionError extends exception.localException {
private static final long serialVersionUID = 12L;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}