goog.module('trycatch.TryCatch.Exception2$impl');

const RuntimeException = goog.require('java.lang.RuntimeException$impl');
const $Util = goog.require('nativebootstrap.Util$impl');
const GenericInterface = goog.require('trycatch.TryCatch.GenericInterface$impl');

let j_l_String = goog.forwardDeclare('java.lang.String$impl');
let TryCatch = goog.forwardDeclare('trycatch.TryCatch$impl');
let $Casts = goog.forwardDeclare('vmbootstrap.Casts$impl');

/**
 * @implements {GenericInterface<?string>}
 */
class Exception2 extends RuntimeException {
 /** @protected @nodts */
 constructor() {
  super();
  /**@type {!TryCatch} @nodts*/
  this.$outer_this__trycatch_TryCatch_Exception2;
 }
 /** @nodts @return {!Exception2} */
 static $create__trycatch_TryCatch(/** !TryCatch */ $outer_this) {
  Exception2.$clinit();
  let $instance = new Exception2();
  $instance.$ctor__trycatch_TryCatch_Exception2__trycatch_TryCatch__void($outer_this);
  $instance.m_privateInitError__javaemul_internal_ThrowableUtils_JsObject__void_$pp_java_lang(new Error($instance));
  return $instance;
 }
 /** @nodts */
 $ctor__trycatch_TryCatch_Exception2__trycatch_TryCatch__void(/** !TryCatch */ $outer_this) {
  this.$outer_this__trycatch_TryCatch_Exception2 = $outer_this;
  this.$ctor__java_lang_RuntimeException__void();
 }
 //Bridge method.
 /** @final @override @nodts */
 m_f__java_lang_Object__void(/** ?string */ arg0) {
  GenericInterface.m_f__$default__trycatch_TryCatch_GenericInterface__java_lang_Object__void(this, /**@type {?string}*/ ($Casts.$to(arg0, j_l_String)));
 }
 //Default method forwarding stub.
 /** @nodts */
 m_f__java_lang_String__void(/** ?string */ arg0) {
  GenericInterface.m_f__$default__trycatch_TryCatch_GenericInterface__java_lang_Object__void(this, arg0);
 }
 /** @nodts */
 static $clinit() {
  Exception2.$clinit = () =>{};
  Exception2.$loadModules();
  RuntimeException.$clinit();
  GenericInterface.$clinit();
 }
 /** @nodts @return {boolean} */
 static $isInstance(/** ? */ instance) {
  return instance instanceof Exception2;
 }
 
 /** @nodts */
 static $loadModules() {
  j_l_String = goog.module.get('java.lang.String$impl');
  $Casts = goog.module.get('vmbootstrap.Casts$impl');
 }
}
GenericInterface.$markImplementor(Exception2);
$Util.$setClassMetadata(Exception2, 'trycatch.TryCatch$Exception2');

exports = Exception2;

//# sourceMappingURL=TryCatch$Exception2.js.map
