/** * Creates a new instance of a throwable object. * * @param blaze\lang\String|string $message The error message. * @param blaze\lang\Integer|int $code The error code. * @param blaze\lang\Throwable $previous The th */ public function __construct($message = null, $code = null, $previous = null) { parent::__construct(String::asNative($message), Integer::asNative($code), $previous); if ($previous != null && !$previous instanceof Throwable) { new IllegalArgumentException('Previous element must be a subtype of Throwable', 0, $this); } }
public function intValue() { return Integer::asNative($this->value); }
public static function getIntHash($value) { $value = Integer::asNative($value); return $value; }