Illegal Argument Exception

Miscellaneous Computer Code

Thursday, 26 November 2009

Java: application to check binary class versions

›
Here's a simple application based on the code from a previous post . You can run it on .class files, .jar files or directories (it...
Tuesday, 17 November 2009

Java: how to use an IllegalArgumentException

›
Calling my web log Illegal Argument Exception seemed like a clever idea at the time. It is probably just a recipe for confusing Java neophy...
Friday, 9 October 2009

JSF: working with component identifiers (id/clientId)

›
This is a post about how to work with IDs in JavaServer Faces. You may find this useful if you want to use JavaScript with JSF. Example I...
5 comments:
Friday, 18 September 2009

Java: character inspector application

›
This is a small application that's useful for solving character encoding bugs. If you've ever wanted to find out exactly what char...
Saturday, 1 August 2009

JSF: a custom format panel control for localising component layout

›
This post describes a custom JavaServer Faces component for controlling the flow layout of controls based on localised strings.
Wednesday, 22 July 2009

Java: finding class versions

›
The JVM versions your Java classes will run on is often determined by how you compile them. Failure to take care with your classes and depen...
1 comment:
Saturday, 18 July 2009

Java: effective Unicode

›
This is my attempt at a list of maxims to abide by when working with text in Java, in the vein of Effective Java or The Ten Commandments of...
Thursday, 28 May 2009

Java: using XPath with namespaces and implementing NamespaceContext

›
XPath is a handy expression language for running queries on XML. This post is about how to use it with XML namespaces in Java ( javax.xml....
11 comments:
Wednesday, 27 May 2009

JSF: using component IDs in a data table (h:dataTable vs clientId)

›
Updated 2009/11/24 This post is obsolete; go read this one instead: JSF: working with component identifiers The approach described in thi...
2 comments:
Tuesday, 26 May 2009

Java: dynamically loading scripting engines (Groovy, JRuby and Jython)

›
Java 6 (via JSR 223 ) added scripting language support to the standard library . The JVM ships with the Mozilla Rhino JavaScript engine inc...
2 comments:
Tuesday, 19 May 2009

JSF: IDs and clientIds in Facelets

›
Updated 2009/11/24 This post is obsolete; go read this one instead: JSF: working with component identifiers The approach described in thi...
3 comments:
Friday, 1 May 2009

Java: a rough guide to character encoding

›
It can be tricky figuring out the difference between character handling code that works and code that just appears to work because testing ...
7 comments:
Friday, 10 April 2009

Java: Unicode on the Windows command line

›
By default, Java encodes Strings sent to System.out in the default code page. On Windows XP, this means a lossy conversion to an "ANSI...
5 comments:
Thursday, 9 April 2009

I18N: Unicode at the Windows command prompt (C++; .Net; Java)

›
Strange things can happen when working with characters. It is important to understand why problems occur and what can be done about them. Th...
6 comments:
Wednesday, 11 March 2009

Java: using JPDA to write a debugger

›
The Java Platform Debugger Architecture (JPDA) API included in the JDK lets you connect to a Java debug session and receive debug events. T...
2 comments:
Saturday, 21 February 2009

Java: finding the validation mechanism for an arbitrary XML document

›
Unfortunately, there is no 100% foolproof process for determining how to validate an arbitrary XML document. If you are receiving a document...
Monday, 16 February 2009

JSF: working with component IDs (id vs clientId)

›
Updated 2009/10/17 WARNING: this post is obsolete; go read this one instead .
10 comments:
Tuesday, 3 February 2009

I18N: a non-technical software bug

›
Can you spot the problem with the following dialog? I expect the developers of the Steam installer are making trade-offs for the bene...
Wednesday, 24 December 2008

Java: automating the equals method

›
I spend quite a lot of time writing Java code. I got to thinking about the time I spent implementing, testing, maintaining and just paging o...
2 comments:
Thursday, 2 October 2008

Java: how not to make a mess of stream handling

›
This article was written with Java 6 in mind. Updated 2008/12/16.    /**     * Writes "Hello, World!" to a fi...
4 comments:
‹
›
Home
View web version
Powered by Blogger.