-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/endgame-202404' into develop
- Loading branch information
Showing
5 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
.../java/com/microsoft/azure/toolkit/lib/common/exception/StreamingDiagnosticsException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
package com.microsoft.azure.toolkit.lib.common.exception; | ||
|
||
import com.microsoft.azure.toolkit.lib.common.utils.StreamingLogSupport; | ||
import lombok.Getter; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
@Getter | ||
public class StreamingDiagnosticsException extends AzureToolkitRuntimeException { | ||
private final StreamingLogSupport streamingLog; | ||
|
||
public StreamingDiagnosticsException(@Nonnull final String cause, @Nonnull final StreamingLogSupport streamingLog) { | ||
super(cause); | ||
this.streamingLog = streamingLog; | ||
} | ||
|
||
public StreamingDiagnosticsException(@Nonnull final String cause, @Nonnull final StreamingLogSupport streamingLog, final Object... actions) { | ||
super(cause, actions); | ||
this.streamingLog = streamingLog; | ||
} | ||
|
||
public StreamingDiagnosticsException(final String error, @NotNull final Throwable cause, @Nonnull final StreamingLogSupport streamingLog, final Object... actions) { | ||
super(error, cause, actions); | ||
this.streamingLog = streamingLog; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters