Correct class names typo
This commit is contained in:
parent
162fdef735
commit
92ef350ad6
|
@ -0,0 +1,13 @@
|
|||
package ctbrec;
|
||||
|
||||
public class NotImplementedException extends RuntimeException {
|
||||
|
||||
public NotImplementedException() {
|
||||
super("Not implemented");
|
||||
}
|
||||
|
||||
public NotImplementedException(String mesg) {
|
||||
super(mesg);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package ctbrec;
|
||||
|
||||
public class NotImplementedExcetion extends RuntimeException {
|
||||
|
||||
public NotImplementedExcetion() {
|
||||
super("Not implemented");
|
||||
}
|
||||
|
||||
public NotImplementedExcetion(String mesg) {
|
||||
super(mesg);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
package ctbrec;
|
||||
|
||||
public class NotLoggedInException extends RuntimeException {
|
||||
|
||||
public NotLoggedInException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public NotLoggedInException(String mesg) {
|
||||
super(mesg);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package ctbrec;
|
||||
|
||||
public class NotLoggedInExcetion extends RuntimeException {
|
||||
|
||||
public NotLoggedInExcetion() {
|
||||
super();
|
||||
}
|
||||
|
||||
public NotLoggedInExcetion(String mesg) {
|
||||
super(mesg);
|
||||
}
|
||||
|
||||
}
|
|
@ -2,7 +2,7 @@ package ctbrec.recorder.postprocessing;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import ctbrec.NotImplementedExcetion;
|
||||
import ctbrec.NotImplementedException;
|
||||
|
||||
public class CreateTimelineThumbs extends AbstractPlaceholderAwarePostProcessor {
|
||||
|
||||
|
@ -15,6 +15,6 @@ public class CreateTimelineThumbs extends AbstractPlaceholderAwarePostProcessor
|
|||
public boolean postprocess(PostProcessingContext ctx) throws IOException, InterruptedException {
|
||||
// create 1 thumb every second with a width of 360 pixels and save it as jpeg with a 5-digit sequence number
|
||||
// ffmpeg -i <file> -vf 'fps=1,scale=360:-1' thumbs/out%05d.jpg
|
||||
throw new NotImplementedExcetion();
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.recorder.postprocessing;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import ctbrec.NotImplementedExcetion;
|
||||
import ctbrec.NotImplementedException;
|
||||
|
||||
public class Webhook extends AbstractPlaceholderAwarePostProcessor {
|
||||
|
||||
|
@ -19,7 +19,7 @@ public class Webhook extends AbstractPlaceholderAwarePostProcessor {
|
|||
|
||||
@Override
|
||||
public boolean postprocess(PostProcessingContext ctx) throws IOException, InterruptedException {
|
||||
throw new NotImplementedExcetion();
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.iheartradio.m3u8.data.PlaylistData;
|
|||
import com.iheartradio.m3u8.data.StreamInfo;
|
||||
import ctbrec.AbstractModel;
|
||||
import ctbrec.Config;
|
||||
import ctbrec.NotImplementedExcetion;
|
||||
import ctbrec.NotImplementedException;
|
||||
import ctbrec.StringUtil;
|
||||
import ctbrec.io.HttpException;
|
||||
import ctbrec.recorder.download.HttpHeaderFactory;
|
||||
|
@ -215,7 +215,7 @@ public class Cam4Model extends AbstractModel {
|
|||
|
||||
@Override
|
||||
public void receiveTip(Double tokens) throws IOException {
|
||||
throw new NotImplementedExcetion("Tipping is not implemented for Cam4, yet");
|
||||
throw new NotImplementedException("Tipping is not implemented for Cam4, yet");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@ import com.iheartradio.m3u8.ParseException;
|
|||
import com.iheartradio.m3u8.PlaylistException;
|
||||
import ctbrec.AbstractModel;
|
||||
import ctbrec.Config;
|
||||
import ctbrec.NotImplementedExcetion;
|
||||
import ctbrec.NotImplementedException;
|
||||
import ctbrec.io.HttpException;
|
||||
import ctbrec.recorder.download.StreamSource;
|
||||
import lombok.Getter;
|
||||
|
@ -231,6 +231,6 @@ public class StreamateModel extends AbstractModel {
|
|||
|
||||
@Override
|
||||
public void receiveTip(Double tokens) throws IOException {
|
||||
throw new NotImplementedExcetion("Tipping is not implemented for Streamate");
|
||||
throw new NotImplementedException("Tipping is not implemented for Streamate");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package ctbrec.recorder.server;
|
|||
|
||||
import ctbrec.Config;
|
||||
import ctbrec.GlobalThreadPool;
|
||||
import ctbrec.NotLoggedInExcetion;
|
||||
import ctbrec.NotLoggedInException;
|
||||
import ctbrec.Version;
|
||||
import ctbrec.event.EventBusHolder;
|
||||
import ctbrec.event.EventHandler;
|
||||
|
@ -123,7 +123,7 @@ public class HttpServer {
|
|||
if (success) {
|
||||
LOG.info("Successfully logged in to {}", site.getName());
|
||||
} else {
|
||||
throw new NotLoggedInExcetion("Login returned false");
|
||||
throw new NotLoggedInException("Login returned false");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LOG.info("Login to {} failed", site.getName());
|
||||
|
|
Loading…
Reference in New Issue