Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
72fb82c0
Commit
72fb82c0
authored
Apr 22, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove MPP EventCancelledException
parent
35454820
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
17 deletions
+5
-17
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
...mmonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
+5
-5
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/event/events/EventCancelledException.kt
...n/net/mamoe/mirai/event/events/EventCancelledException.kt
+0
-12
No files found.
mirai-core/src/commonMain/kotlin/net.mamoe.mirai/event/events/BotEvents.kt
View file @
72fb82c0
...
@@ -34,11 +34,11 @@ import kotlin.jvm.JvmSynthetic
...
@@ -34,11 +34,11 @@ import kotlin.jvm.JvmSynthetic
@Suppress
(
"unused"
)
@Suppress
(
"unused"
)
expect
class
EventCancelledException
:
RuntimeException
{
class
EventCancelledException
:
RuntimeException
{
constructor
()
constructor
()
:
super
()
constructor
(
message
:
String
?)
constructor
(
message
:
String
?)
:
super
(
message
)
constructor
(
message
:
String
?,
cause
:
Throwable
?)
constructor
(
message
:
String
?,
cause
:
Throwable
?)
:
super
(
message
,
cause
)
constructor
(
cause
:
Throwable
?)
constructor
(
cause
:
Throwable
?)
:
super
(
cause
)
}
}
// note: 若你使用 IntelliJ IDEA, 按 alt + 7 可打开结构
// note: 若你使用 IntelliJ IDEA, 按 alt + 7 可打开结构
...
...
mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/event/events/EventCancelledException.kt
deleted
100644 → 0
View file @
35454820
package
net.mamoe.mirai.event.events
// 不要删除多平台结构.
// 否则在 Java 中这个 class 不会被认为是 java.lang.RuntimeException (Kotlin bug)
@Suppress
(
"unused"
)
actual
class
EventCancelledException
:
RuntimeException
{
actual
constructor
()
:
super
()
actual
constructor
(
message
:
String
?)
:
super
(
message
)
actual
constructor
(
message
:
String
?,
cause
:
Throwable
?)
:
super
(
message
,
cause
)
actual
constructor
(
cause
:
Throwable
?)
:
super
(
cause
)
}
\ No newline at end of file
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