Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.xml.bind.v2.runtime;
 /*    */ 
 /*    */ import java.text.MessageFormat;
 /*    */ import java.util.ResourceBundle;
 /*    */ 
 /*    */  enum Messages
 /*    */ {
 /* 46 */   ILLEGAL_PARAMETER, 
 /* 47 */   UNABLE_TO_FIND_CONVERSION_METHOD, 
/* 48 */   MISSING_ID, 
/* 49 */   NOT_IMPLEMENTED_IN_2_0, 
/* 50 */   UNRECOGNIZED_ELEMENT_NAME, 
/* 51 */   TYPE_MISMATCH, 
/* 52 */   MISSING_OBJECT, 
/* 53 */   NOT_IDENTIFIABLE, 
/* 54 */   DANGLING_IDREF, 
/* 55 */   NULL_OUTPUT_RESOLVER, 
/* 56 */   UNABLE_TO_MARSHAL_NON_ELEMENT, 
/* 57 */   UNSUPPORTED_PROPERTY, 
/* 58 */   NULL_PROPERTY_NAME, 
/* 59 */   MUST_BE_X, 
/* 60 */   NOT_MARSHALLABLE, 
/* 61 */   UNSUPPORTED_RESULT, 
/* 62 */   UNSUPPORTED_ENCODING, 
/* 63 */   SUBSTITUTED_BY_ANONYMOUS_TYPE, 
/* 64 */   CYCLE_IN_MARSHALLER, 
/* 65 */   UNABLE_TO_DISCOVER_EVENTHANDLER, 
/* 66 */   ELEMENT_NEEDED_BUT_FOUND_DOCUMENT, 
/* 67 */   UNKNOWN_CLASS, 
/* 68 */   FAILED_TO_GENERATE_SCHEMA;
/*    */ 
/*    */   private static final ResourceBundle rb;
/*    */ 
/*    */   public String toString() {
/* 74 */     return format(new Object[0]);
/*    */   }
/*    */ 
/*    */   public String format(Object[] args) {
/* 78 */     return MessageFormat.format(rb.getString(name()), args);
/*    */   }
/*    */ 
/*    */   static
/*    */   {
/* 71 */     rb = ResourceBundle.getBundle(Messages.class.getName());
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     com.sun.xml.bind.v2.runtime.Messages
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X