Exception: JAVA::Exception

Inherits:
Exception
  • Object
show all
Defined in:
ext/primitive/primitive.c

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(cause) ⇒ Object



2698
2699
2700
2701
2702
# File 'ext/primitive/primitive.c', line 2698

static VALUE
r_JavaException_new(VALUE self, VALUE cause)
{
	return __allocate_JavaException(cause);
}

Instance Method Details

#causeObject



2710
2711
2712
2713
2714
2715
2716
# File 'ext/primitive/primitive.c', line 2710

static VALUE
r_JavaException_cause(VALUE self)
{
	JavaException *p;
	Data_Get_Struct(self, JavaException, p);
	return p->cause;
}