public void TestDefaultEndianExprException()
 {
     Assert.Throws <UndecidedEndiannessError>(
         delegate
     {
         DefaultEndianExprException.FromFile(SourceFile("endian_expr.bin"));
     }
         );
 }
 public void TestDefaultEndianExprException()
 {
     Assert.Throws <Exception>(
         delegate {
         DefaultEndianExprException.FromFile(SourceFile("endian_expr.bin"));
     }
         );
     // FIXME: catch more specific exception
 }
 public MainObj(KaitaiStream p__io, DefaultEndianExprException.Doc p__parent = null, DefaultEndianExprException p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root;
     _read();
 }
 public DefaultEndianExprException(KaitaiStream p__io, KaitaiStruct p__parent = null, DefaultEndianExprException p__root = null) : base(p__io)
 {
     m_parent = p__parent;
     m_root   = p__root ?? this;
     _read();
 }