public static PID getInstance ( String pidString ) { try { return new PID ( pidString ) ; } catch ( MalformedPIDException e ) { throw new FaultException ( "Malformed PID: " + e . getMessage ( ) , e ) ; } }
Factory method that throws an unchecked exception if it s not well - formed .