Ref: proper name of exception

This commit is contained in:
Sheepit Renderfarm
2023-01-28 11:45:20 +00:00
parent a991373bf5
commit 1473d213ca
16 changed files with 131 additions and 131 deletions

View File

@@ -1,30 +0,0 @@
/*
* Copyright (C) 2016 Laurent CLOUET
* Author Laurent CLOUET <laurent.clouet@nopnop.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package com.sheepit.client.exception;
public class FermeExceptionServerInMaintenance extends FermeException {
public FermeExceptionServerInMaintenance() {
super();
}
public FermeExceptionServerInMaintenance(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeException extends Exception {
public FermeException() {
public class SheepItException extends Exception {
public SheepItException() {
super();
}
public FermeException(String message_) {
public SheepItException(String message_) {
super(message_);
}
}

View File

@@ -0,0 +1,30 @@
/*
* Copyright (C) 2016 Laurent CLOUET
* Author Laurent CLOUET <laurent.clouet@nopnop.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package com.sheepit.client.exception;
public class SheepItExceptionBadResponseFromServer extends SheepItException {
public SheepItExceptionBadResponseFromServer() {
super();
}
public SheepItExceptionBadResponseFromServer(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionNoRendererAvailable extends FermeException {
public FermeExceptionNoRendererAvailable() {
public class SheepItExceptionNoRendererAvailable extends SheepItException {
public SheepItExceptionNoRendererAvailable() {
super();
}
public FermeExceptionNoRendererAvailable(String message_) {
public SheepItExceptionNoRendererAvailable(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionSessionDisabled extends FermeException {
public FermeExceptionSessionDisabled() {
public class SheepItExceptionNoRightToRender extends SheepItException {
public SheepItExceptionNoRightToRender() {
super();
}
public FermeExceptionSessionDisabled(String message_) {
public SheepItExceptionNoRightToRender(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionNoSession extends FermeException {
public FermeExceptionNoSession() {
public class SheepItExceptionNoSession extends SheepItException {
public SheepItExceptionNoSession() {
super();
}
public FermeExceptionNoSession(String message_) {
public SheepItExceptionNoSession(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionNoSpaceLeftOnDevice extends FermeException {
public FermeExceptionNoSpaceLeftOnDevice() {
public class SheepItExceptionNoSpaceLeftOnDevice extends SheepItException {
public SheepItExceptionNoSpaceLeftOnDevice() {
super();
}
public FermeExceptionNoSpaceLeftOnDevice(String message_) {
public SheepItExceptionNoSpaceLeftOnDevice(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionBadResponseFromServer extends FermeException {
public FermeExceptionBadResponseFromServer() {
public class SheepItExceptionNoWritePermission extends SheepItException {
public SheepItExceptionNoWritePermission() {
super();
}
public FermeExceptionBadResponseFromServer(String message_) {
public SheepItExceptionNoWritePermission(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionPathInvalid extends FermeException {
public FermeExceptionPathInvalid() {
public class SheepItExceptionPathInvalid extends SheepItException {
public SheepItExceptionPathInvalid() {
super();
}
public FermeExceptionPathInvalid(String message_) {
public SheepItExceptionPathInvalid(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionNoWritePermission extends FermeException {
public FermeExceptionNoWritePermission() {
public class SheepItExceptionServerInMaintenance extends SheepItException {
public SheepItExceptionServerInMaintenance() {
super();
}
public FermeExceptionNoWritePermission(String message_) {
public SheepItExceptionServerInMaintenance(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionServerOverloaded extends FermeException {
public FermeExceptionServerOverloaded() {
public class SheepItExceptionServerOverloaded extends SheepItException {
public SheepItExceptionServerOverloaded() {
super();
}
public FermeExceptionServerOverloaded(String message_) {
public SheepItExceptionServerOverloaded(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionNoRightToRender extends FermeException {
public FermeExceptionNoRightToRender() {
public class SheepItExceptionSessionDisabled extends SheepItException {
public SheepItExceptionSessionDisabled() {
super();
}
public FermeExceptionNoRightToRender(String message_) {
public SheepItExceptionSessionDisabled(String message_) {
super(message_);
}
}

View File

@@ -19,12 +19,12 @@
package com.sheepit.client.exception;
public class FermeExceptionSessionDisabledDenoisingNotSupported extends FermeException {
public FermeExceptionSessionDisabledDenoisingNotSupported() {
public class SheepItExceptionSessionDisabledDenoisingNotSupported extends SheepItException {
public SheepItExceptionSessionDisabledDenoisingNotSupported() {
super();
}
public FermeExceptionSessionDisabledDenoisingNotSupported(String message_) {
public SheepItExceptionSessionDisabledDenoisingNotSupported(String message_) {
super(message_);
}
}

View File

@@ -22,12 +22,12 @@ package com.sheepit.client.exception;
/**
* Server down (server side error) or unreachable (client side error)
*/
public class FermeServerDown extends FermeException {
public FermeServerDown() {
public class SheepItServerDown extends SheepItException {
public SheepItServerDown() {
super();
}
public FermeServerDown(String message_) {
public SheepItServerDown(String message_) {
super(message_);
}
}