Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
d0196198
Commit
d0196198
authored
Oct 08, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
課題票75対応
parent
4e58c35a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
+34
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
View file @
d0196198
...
@@ -240,6 +240,40 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
...
@@ -240,6 +240,40 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
// ログ送信可否を確認
// ログ送信可否を確認
LogUtil
.
checkSendLogFlag
();
LogUtil
.
checkSendLogFlag
();
}
}
}
catch
(
NetworkDisconnectedException
e
)
{
stopUpdateAnimation
();
if
(
startRefresh
)
{
startRefresh
=
false
;
}
throw
e
;
}
catch
(
ABVException
e
)
{
stopUpdateAnimation
();
switch
(
e
.
getCode
())
{
case
C_I_CONTENT_0001:
handleErrorMessageToast
(
ABVExceptionCode
.
C_I_CONTENT_0001
);
break
;
case
S_E_ACMS_1403:
// 再ログイン
onAuthenticationFailed
();
break
;
case
C_I_CONTENT_0002:
// コンテンツダウンロード中は自動更新を行わない。
if
(!
isAutoRefresh
)
{
handleErrorMessageToast
(
ABVExceptionCode
.
C_I_CONTENT_0002
);
}
break
;
case
S_E_ACMS_0500:
handleErrorMessageToast
(
ABVExceptionCode
.
S_E_ACMS_0500
);
break
;
case
S_E_ACMS_INVALID_RESPONSE:
// サーバー通信エラー時、エラーメッセージ表示
handleErrorMessageToast
(
ABVExceptionCode
.
S_E_ACMS_INVALID_RESPONSE
);
break
;
default
:
Logger
.
e
(
TAG
,
"Exception DataRefresh"
,
e
);
handleErrorMessageToast
(
ErrorCode
.
E107
);
break
;
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
stopUpdateAnimation
();
stopUpdateAnimation
();
if
(
startRefresh
)
{
if
(
startRefresh
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment