Skip to content

Commit

Permalink
fix: corrects thirdparty exceptions (#48)
Browse files Browse the repository at this point in the history
* fix: corrects thirdparty exceptions

* updates CHANGELOG.md
  • Loading branch information
jscyo authored Oct 27, 2022
1 parent 692209f commit 7ae1044
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Updates ThirdParty recipe errors to now extend `ThirdPartyException`

## [2.18.0] - 2022-08-18

- Adds `LOG_LEVEL` enum, and changes `initFileLogging` interface function to accept a log level.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

package io.supertokens.pluginInterface.thirdparty.exception;

import io.supertokens.pluginInterface.emailpassword.exceptions.EmailPasswordException;

public class DuplicateThirdPartyUserException extends EmailPasswordException {
public class DuplicateThirdPartyUserException extends ThirdPartyException {
private static final long serialVersionUID = 6848053563771647272L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

package io.supertokens.pluginInterface.thirdparty.exception;

import io.supertokens.pluginInterface.emailpassword.exceptions.EmailPasswordException;

public class DuplicateUserIdException extends EmailPasswordException {
public class DuplicateUserIdException extends ThirdPartyException {
private static final long serialVersionUID = 6848053563771647272L;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package io.supertokens.pluginInterface.thirdparty.exception;

public class ThirdPartyException extends Exception {
private static final long serialVersionUID = -8903928332291556225L;
}

0 comments on commit 7ae1044

Please sign in to comment.