Skip to content

BaseWrappedException.HostLocation ​

com.jsmacrosce.jsmacros.core.language.BaseWrappedException.HostLocation

A source location carrying host display text, such as Native Method, a file location, or Unknown Source.

js
const HostLocation = Java.type("com.jsmacrosce.jsmacros.core.language.BaseWrappedException$HostLocation");  
Chat.log(new HostLocation("Unknown Source").toString());

Nested type declared in BaseWrappedException.

Constructors ​

new BaseWrappedException.HostLocation ​

new BaseWrappedException.HostLocation(String location)#
Stores the supplied host display-location text.

Parameters:

  • location: host display-location text

Fields ​

location ​

location: Stringread-only#
Stored host display-location text.

Methods ​

toString ​

toString(): String#
Returns the stored display-location text unchanged.
Returns: stored display-location text