rename exceptions to accomodate java's nomenclature

This commit is contained in:
Flavien Haas 2020-03-19 14:26:39 +01:00 committed by Louis
parent cc8997b65b
commit 2a4ad8316f
14 changed files with 26 additions and 26 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,9 @@
package localException; package localException;
import exception.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. */ /** 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.localException { public class SizeError extends exception.LocalException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class EmptyDirectory extends exception.remoteException { public class EmptyDirectory extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class EmptyFile extends exception.remoteException { public class EmptyFile extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class InternalRemoteError extends exception.remoteException { public class InternalRemoteError extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class NotFound extends exception.remoteException { public class NotFound extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class ProtocolRemoteError extends exception.remoteException { public class ProtocolRemoteError extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }

View File

@ -1,7 +1,7 @@
package remoteException; package remoteException;
import exception.remoteException; import exception.RemoteException;
public class VersionRemoteError extends exception.remoteException { public class VersionRemoteError extends exception.RemoteException {
private static final long serialVersionUID = 12L; private static final long serialVersionUID = 12L;
} }