rename exceptions to accomodate java's nomenclature
This commit is contained in:
parent
cc8997b65b
commit
2a4ad8316f
@ -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;
|
||||||
}
|
}
|
@ -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;
|
||||||
}
|
}
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user