Skip to content

Commit 56ba77b

Browse files
committed
Adding Flex Token Verification code to SDK
1 parent 7929858 commit 56ba77b

File tree

7 files changed

+904
-1
lines changed

7 files changed

+904
-1
lines changed

generator/cybersource_java_sdk_gen.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
@echo off
22

3-
rd /s /q ..\src
3+
rd /s /q ..\src\main\java\Api
4+
rd /s /q ..\src\main\java\Invokers
5+
rd /s /q ..\src\main\java\Model
6+
rd /s /q ..\src\test
47
rd /s /q ..\target
58
rd /s /q ..\docs
69

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package utilities.flex.exception;
2+
3+
public class FlexEncodingException extends FlexException {
4+
5+
public FlexEncodingException(String msg) {
6+
super(msg);
7+
}
8+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package utilities.flex.exception;
2+
3+
public class FlexException extends Exception {
4+
5+
public FlexException(final String msg) {
6+
super(msg);
7+
}
8+
9+
public FlexException(final Throwable t) {
10+
super(t);
11+
}
12+
13+
public FlexException(String message, Throwable t) {
14+
super(message, t);
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package utilities.flex.exception;
2+
3+
public class FlexSDKInternalException extends FlexException {
4+
5+
public FlexSDKInternalException(String msg) {
6+
super(msg);
7+
}
8+
9+
public FlexSDKInternalException(Throwable t) {
10+
super(t);
11+
}
12+
13+
public FlexSDKInternalException(String message, Throwable t) {
14+
super(message, t);
15+
}
16+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package utilities.flex.exception;
2+
3+
public class FlexSecurityException extends FlexException {
4+
5+
public FlexSecurityException(String msg) {
6+
super(msg);
7+
}
8+
9+
public FlexSecurityException(String msg, Exception e) {
10+
super(msg, e);
11+
}
12+
}

0 commit comments

Comments
 (0)