ExceptionDialog

org.sphix.ui.dialog.ExceptionDialog
class ExceptionDialog(title: Option[String], header: Option[String], exception: Throwable) extends Dialog[Nothing]

A dialog that shows the message and stack trace of an exception, including all nested causes. The message is shown in a non-editable text area, for convenient copying of the text. The stack trace is shown in the expandable content of the dialog. The title and header parameters are optional. If the header is not provided, the class name of the exception is used as the header. Secondary constructors are provided for convenience, to allow omitting the title and/or header.

Attributes

Graph
Supertypes
class Dialog[Nothing]
trait EventTarget
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(title: String, header: String, exception: Throwable)
def this(header: String, exception: Throwable)
def this(title: Option[String], exception: Throwable)
def this(exception: Throwable)

Concrete methods

def createCauseList(exception: Throwable): List[Throwable]

Inherited methods

final def addEventFilter[E <: Event](x$0: EventType[E], x$1: EventHandler[_ >: E <: <FromJavaObject>]): Unit

Attributes

Inherited from:
Dialog
final def addEventHandler[E <: Event](x$0: EventType[E], x$1: EventHandler[_ >: E <: <FromJavaObject>]): Unit

Attributes

Inherited from:
Dialog
def buildEventDispatchChain(x$0: EventDispatchChain): EventDispatchChain

Attributes

Inherited from:
Dialog
final def close(): Unit

Attributes

Inherited from:
Dialog
final def contentTextProperty(): StringProperty

Attributes

Inherited from:
Dialog
final def dialogPaneProperty(): ObjectProperty[DialogPane]

Attributes

Inherited from:
Dialog
final def getContentText(): String

Attributes

Inherited from:
Dialog
final def getDialogPane(): DialogPane

Attributes

Inherited from:
Dialog
final def getGraphic(): Node

Attributes

Inherited from:
Dialog
final def getHeaderText(): String

Attributes

Inherited from:
Dialog
final def getHeight(): Double

Attributes

Inherited from:
Dialog
final def getModality(): Modality

Attributes

Inherited from:
Dialog
final def getOnCloseRequest(): EventHandler[DialogEvent]

Attributes

Inherited from:
Dialog
final def getOnHidden(): EventHandler[DialogEvent]

Attributes

Inherited from:
Dialog
final def getOnHiding(): EventHandler[DialogEvent]

Attributes

Inherited from:
Dialog
final def getOnShowing(): EventHandler[DialogEvent]

Attributes

Inherited from:
Dialog
final def getOnShown(): EventHandler[DialogEvent]

Attributes

Inherited from:
Dialog
final def getOwner(): Window

Attributes

Inherited from:
Dialog
final def getResult(): Nothing

Attributes

Inherited from:
Dialog
final def getResultConverter(): Callback[ButtonType, Nothing]

Attributes

Inherited from:
Dialog
final def getTitle(): String

Attributes

Inherited from:
Dialog
final def getWidth(): Double

Attributes

Inherited from:
Dialog
final def getX(): Double

Attributes

Inherited from:
Dialog
final def getY(): Double

Attributes

Inherited from:
Dialog
final def graphicProperty(): ObjectProperty[Node]

Attributes

Inherited from:
Dialog
final def headerTextProperty(): StringProperty

Attributes

Inherited from:
Dialog
final def heightProperty(): ReadOnlyDoubleProperty

Attributes

Inherited from:
Dialog
final def hide(): Unit

Attributes

Inherited from:
Dialog
final def initModality(x$0: Modality): Unit

Attributes

Inherited from:
Dialog
final def initOwner(x$0: Window): Unit

Attributes

Inherited from:
Dialog
final def initStyle(x$0: StageStyle): Unit

Attributes

Inherited from:
Dialog
final def isResizable(): Boolean

Attributes

Inherited from:
Dialog
final def isShowing(): Boolean

Attributes

Inherited from:
Dialog
final def onCloseRequestProperty(): ObjectProperty[EventHandler[DialogEvent]]

Attributes

Inherited from:
Dialog
final def onHiddenProperty(): ObjectProperty[EventHandler[DialogEvent]]

Attributes

Inherited from:
Dialog
final def onHidingProperty(): ObjectProperty[EventHandler[DialogEvent]]

Attributes

Inherited from:
Dialog
final def onShowingProperty(): ObjectProperty[EventHandler[DialogEvent]]

Attributes

Inherited from:
Dialog
final def onShownProperty(): ObjectProperty[EventHandler[DialogEvent]]

Attributes

Inherited from:
Dialog
final def removeEventFilter[E <: Event](x$0: EventType[E], x$1: EventHandler[_ >: E <: <FromJavaObject>]): Unit

Attributes

Inherited from:
Dialog
final def removeEventHandler[E <: Event](x$0: EventType[E], x$1: EventHandler[_ >: E <: <FromJavaObject>]): Unit

Attributes

Inherited from:
Dialog
final def resizableProperty(): BooleanProperty

Attributes

Inherited from:
Dialog
final def resultConverterProperty(): ObjectProperty[Callback[ButtonType, Nothing]]

Attributes

Inherited from:
Dialog
final def resultProperty(): ObjectProperty[Nothing]

Attributes

Inherited from:
Dialog
final def setContentText(x$0: String): Unit

Attributes

Inherited from:
Dialog
final def setDialogPane(x$0: DialogPane): Unit

Attributes

Inherited from:
Dialog
final def setGraphic(x$0: Node): Unit

Attributes

Inherited from:
Dialog
final def setHeaderText(x$0: String): Unit

Attributes

Inherited from:
Dialog
final def setHeight(x$0: Double): Unit

Attributes

Inherited from:
Dialog
final def setOnCloseRequest(x$0: EventHandler[DialogEvent]): Unit

Attributes

Inherited from:
Dialog
final def setOnHidden(x$0: EventHandler[DialogEvent]): Unit

Attributes

Inherited from:
Dialog
final def setOnHiding(x$0: EventHandler[DialogEvent]): Unit

Attributes

Inherited from:
Dialog
final def setOnShowing(x$0: EventHandler[DialogEvent]): Unit

Attributes

Inherited from:
Dialog
final def setOnShown(x$0: EventHandler[DialogEvent]): Unit

Attributes

Inherited from:
Dialog
final def setResizable(x$0: Boolean): Unit

Attributes

Inherited from:
Dialog
final def setResult(x$0: Nothing): Unit

Attributes

Inherited from:
Dialog
final def setResultConverter(x$0: Callback[ButtonType, Nothing]): Unit

Attributes

Inherited from:
Dialog
final def setTitle(x$0: String): Unit

Attributes

Inherited from:
Dialog
final def setWidth(x$0: Double): Unit

Attributes

Inherited from:
Dialog
final def setX(x$0: Double): Unit

Attributes

Inherited from:
Dialog
final def setY(x$0: Double): Unit

Attributes

Inherited from:
Dialog
final def show(): Unit

Attributes

Inherited from:
Dialog
final def showAndWait(): Optional[Nothing]

Attributes

Inherited from:
Dialog
final def showingProperty(): ReadOnlyBooleanProperty

Attributes

Inherited from:
Dialog
final def titleProperty(): StringProperty

Attributes

Inherited from:
Dialog
final def widthProperty(): ReadOnlyDoubleProperty

Attributes

Inherited from:
Dialog
final def xProperty(): ReadOnlyDoubleProperty

Attributes

Inherited from:
Dialog
final def yProperty(): ReadOnlyDoubleProperty

Attributes

Inherited from:
Dialog

Concrete fields

val causeList: List[Throwable]
val content: VBox
val expandableContent: VBox
val headerText: String
val img: Label
val stackTraceText: List[String]
val stackTraceTextArea: TextArea
val textArea: TextArea
val textList: List[String]