Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nouiWithSpringMVC
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gechengyang
nouiWithSpringMVC
Commits
8ce08718
Commit
8ce08718
authored
Aug 25, 2020
by
WeiCong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将原bd事件触发异常产生的dump文件信息,同时进行日志打印
parent
9073e3a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
27 deletions
+13
-27
NoUiPresentation.java
...a/org/sss/presentation/noui/context/NoUiPresentation.java
+13
-27
No files found.
src/main/java/org/sss/presentation/noui/context/NoUiPresentation.java
View file @
8ce08718
package
org
.
sss
.
presentation
.
noui
.
context
;
import
java.io.File
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.PrintStream
;
import
java.text.MessageFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
com.google.gson.Gson
;
import
log.Log
;
import
log.LogFactory
;
import
org.apache.commons.io.FileUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.sss.common.impl.AbstractNullPresentation
;
import
org.sss.common.impl.ProxyDatafield
;
import
org.sss.common.model.CodetableItem
;
import
org.sss.common.model.IAttribute
;
import
org.sss.common.model.IAttributeValue
;
import
org.sss.common.model.IBaseObject
;
import
org.sss.common.model.ICodetable
;
import
org.sss.common.model.IDatafield
;
import
org.sss.common.model.IFilter
;
import
org.sss.common.model.II18n
;
import
org.sss.common.model.IModuleList
;
import
org.sss.common.model.IPanel
;
import
org.sss.common.model.MessageType
;
import
org.sss.common.model.RowOpType
;
import
org.sss.common.model.ViewType
;
import
org.sss.common.model.*
;
import
org.sss.exception.ContainerException
;
import
org.sss.presentation.noui.api.request.NoUiRequest
;
import
org.sss.presentation.noui.api.response.ErrorCodes
;
import
org.sss.presentation.noui.common.Constants
;
import
org.sss.presentation.noui.util.NoUiUtils
;
import
org.sss.presentation.noui.util.RedisUtil
;
import
org.sss.util.ContainerUtils
;
import
com.google.gson.Gson
;
import
java.io.File
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.PrintStream
;
import
java.text.MessageFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
public
class
NoUiPresentation
extends
AbstractNullPresentation
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
NoUiPresentation
.
class
);
...
...
@@ -241,6 +226,7 @@ public class NoUiPresentation extends AbstractNullPresentation {
((
Throwable
)
paramObject
).
printStackTrace
(
localPrintStream
);
localPrintStream
.
close
();
str1
=
String
.
format
(
getI18nValue
(
"eibs"
,
"error.message"
),
new
Object
[]
{
((
Throwable
)
paramObject
).
getMessage
(),
str2
});
log
.
error
(
"事件触发异常:"
+((
Throwable
)
paramObject
).
getMessage
(),(
Throwable
)
paramObject
);
}
else
if
(
paramObject
!=
null
)
{
str1
=
paramObject
.
toString
();
}
...
...
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