package org.jetbrains.plugins.ipnb.format.cells.output; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.List; import java.util.Map; public class IpnbErrorOutputCell extends IpnbOutputCell { @NotNull private final String myEvalue; @NotNull private final String myEname; public IpnbErrorOutputCell(@NotNull final String evalue, @NotNull final String ename, @NotNull final List<String> traceback, @Nullable final Integer prompt, @Nullable Map<String, Object> metadata) { super(traceback, prompt, metadata); myEvalue = evalue; myEname = ename; } @NotNull public String getEvalue() { return myEvalue; } @NotNull public String getEname() { return myEname; } }