Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32434
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.java.programmer |
| Subject | What to do with an exception of Field.get() |
| Date | Fri, 28 Aug 2015 15:37:21 +0200 |
| Organization | Decebal Computing |
| Lines | 15 |
| Message-ID | <87fv33fsa6.fsf@Equus.decebal.nl> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="21927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wWopnkZ7YHzEo2HI+w8BN9KcE8iE1PzE=" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| X-Homepage | http://www.decebal.nl/ |
| Cancel-Lock | sha1:buoC4gt/KJbKHM2k8geZT0aEShI= sha1:803ZCO7oenglw5dx3OutHFxS2x8= |
| Xref | csiph.com comp.lang.java.programmer:32434 |
Show key headers only | View raw
I am using:
http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Field.html#get%28java.lang.Object%29
This can throw an IllegalArgumentException, or an
IllegalAccessException.
I see this as an unacceptable error and I am thinking about giving a
stacktrace and exiting the program.
Is this acceptable, or is it not done?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
What to do with an exception of Field.get() Cecil Westerhof <Cecil@decebal.nl> - 2015-08-28 15:37 +0200
Re: What to do with an exception of Field.get() Cecil Westerhof <Cecil@decebal.nl> - 2015-08-28 16:22 +0200
Re: What to do with an exception of Field.get() Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-08-28 10:44 -0400
Re: What to do with an exception of Field.get() Tassilo Horn <tsdh@gnu.org> - 2015-08-28 16:57 +0200
Re: What to do with an exception of Field.get() Tassilo Horn <tsdh@gnu.org> - 2015-08-28 16:52 +0200
csiph-web