Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,30 @@

import consulo.internal.com.sun.jdi.InvocationException;
import consulo.internal.com.sun.jdi.ObjectReference;
import consulo.localize.LocalizeValue;
import consulo.logging.Logger;
import jakarta.annotation.Nonnull;
import jakarta.annotation.Nullable;

public class EvaluateException extends Exception {
private static final Logger LOG = Logger.getInstance(EvaluateException.class);
private ObjectReference myTargetException;

public EvaluateException(@Nonnull LocalizeValue message) {
this(message.get());
}

public EvaluateException(String message) {
super(message);
if (LOG.isDebugEnabled()) {
LOG.debug(message);
}
}

public EvaluateException(@Nonnull LocalizeValue msg, Throwable th) {
this(msg.get(), th);
}

public EvaluateException(String msg, Throwable th) {
super(msg, th);
if (th instanceof EvaluateException evaluateException) {
Expand Down
Loading
Loading