001: package com.sun.xml.wss.logging.impl.opt;
002:
003: import com.sun.xml.ws.util.localization.Localizable;
004: import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005: import com.sun.xml.ws.util.localization.Localizer;
006:
007: /**
008: * Defines string formatting method for each constant in the resource file
009: *
010: */
011: public final class LogStringsMessages {
012:
013: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014: "com.sun.xml.wss.logging.impl.opt.LogStrings");
015: private final static Localizer localizer = new Localizer();
016:
017: public static Localizable localizableWSS_1610_ERROR_MARSHALLING_JBOBJECT(
018: Object arg0) {
019: return messageFactory.getMessage(
020: "WSS1610.error.marshalling.jbobject", arg0);
021: }
022:
023: /**
024: * WSS1610: Error occurred while marshalling {0}
025: *
026: */
027: public static String WSS_1610_ERROR_MARSHALLING_JBOBJECT(Object arg0) {
028: return localizer
029: .localize(localizableWSS_1610_ERROR_MARSHALLING_JBOBJECT(arg0));
030: }
031:
032: public static Localizable localizableWSS_1612_ERROR_READING_BUFFER() {
033: return messageFactory
034: .getMessage("WSS1612.error.reading.buffer");
035: }
036:
037: /**
038: * WSS1612: Error occurred while reading incoming SOAP message from the buffer, debug is enabled.
039: *
040: */
041: public static String WSS_1612_ERROR_READING_BUFFER() {
042: return localizer
043: .localize(localizableWSS_1612_ERROR_READING_BUFFER());
044: }
045:
046: public static Localizable localizableWSS_1609_ERROR_SERIALIZING_ELEMENT(
047: Object arg0) {
048: return messageFactory.getMessage(
049: "WSS1609.error.serializing.element", arg0);
050: }
051:
052: /**
053: * WSS1609: Error while serializing {0} element
054: *
055: */
056: public static String WSS_1609_ERROR_SERIALIZING_ELEMENT(Object arg0) {
057: return localizer
058: .localize(localizableWSS_1609_ERROR_SERIALIZING_ELEMENT(arg0));
059: }
060:
061: public static Localizable localizableWSS_1603_ERROR_READING_STREAM(
062: Object arg0) {
063: return messageFactory.getMessage(
064: "WSS1603.error.reading.stream", arg0);
065: }
066:
067: /**
068: * WSS1603: Stream Exception while reading incoming message: {0}
069: *
070: */
071: public static String WSS_1603_ERROR_READING_STREAM(Object arg0) {
072: return localizer
073: .localize(localizableWSS_1603_ERROR_READING_STREAM(arg0));
074: }
075:
076: public static Localizable localizableWSS_1611_PROBLEM_CACHING() {
077: return messageFactory.getMessage("WSS1611.problem.caching");
078: }
079:
080: /**
081: * WSS1611: Error occurred while buffering incoming SOAP message.
082: *
083: */
084: public static String WSS_1611_PROBLEM_CACHING() {
085: return localizer
086: .localize(localizableWSS_1611_PROBLEM_CACHING());
087: }
088:
089: public static Localizable localizableWSS_1601_SSL_NOT_ENABLED() {
090: return messageFactory.getMessage("WSS1601.ssl.not.enabled");
091: }
092:
093: /**
094: * WSS1601: Security Requirements not met - Transport binding configured in policy but incoming message was not SSL enabled
095: *
096: */
097: public static String WSS_1601_SSL_NOT_ENABLED() {
098: return localizer
099: .localize(localizableWSS_1601_SSL_NOT_ENABLED());
100: }
101:
102: public static Localizable localizableWSS_1604_ERROR_DECODING_BASE_64_DATA(
103: Object arg0) {
104: return messageFactory.getMessage(
105: "WSS1604.error.decoding.base64data", arg0);
106: }
107:
108: /**
109: * WSS1604: Error occurred while decoding Base64 data: {0}
110: *
111: */
112: public static String WSS_1604_ERROR_DECODING_BASE_64_DATA(
113: Object arg0) {
114: return localizer
115: .localize(localizableWSS_1604_ERROR_DECODING_BASE_64_DATA(arg0));
116: }
117:
118: public static Localizable localizableWSS_1607_ERROR_RSAPUBLIC_KEY() {
119: return messageFactory.getMessage("WSS1607.error.rsapublic.key");
120: }
121:
122: /**
123: * WSS1607: Error occurred while constructing RSAPublicKey
124: *
125: */
126: public static String WSS_1607_ERROR_RSAPUBLIC_KEY() {
127: return localizer
128: .localize(localizableWSS_1607_ERROR_RSAPUBLIC_KEY());
129: }
130:
131: public static Localizable localizableWSS_1606_ERROR_RSAKEYINFO_BASE_64_DECODING(
132: Object arg0) {
133: return messageFactory.getMessage(
134: "WSS1606.error.rsakeyinfo.base64decoding", arg0);
135: }
136:
137: /**
138: * WSS1606: Error occurred while Base64 decoding {0} under RSAKeyInfo
139: *
140: */
141: public static String WSS_1606_ERROR_RSAKEYINFO_BASE_64_DECODING(
142: Object arg0) {
143: return localizer
144: .localize(localizableWSS_1606_ERROR_RSAKEYINFO_BASE_64_DECODING(arg0));
145: }
146:
147: public static Localizable localizableWSS_1602_SCCANCEL_SECURITY_UNCONFIGURED() {
148: return messageFactory
149: .getMessage("WSS1602.sccancel.security.unconfigured");
150: }
151:
152: /**
153: * WSS1602: Security Requirements not met for SecureConversation Cancel Message
154: *
155: */
156: public static String WSS_1602_SCCANCEL_SECURITY_UNCONFIGURED() {
157: return localizer
158: .localize(localizableWSS_1602_SCCANCEL_SECURITY_UNCONFIGURED());
159: }
160:
161: public static Localizable localizableWSS_1608_ERROR_SECURITY_HEADER() {
162: return messageFactory
163: .getMessage("WSS1608.error.security.header");
164: }
165:
166: /**
167: * WSS1608: Error occurred while processing security header
168: *
169: */
170: public static String WSS_1608_ERROR_SECURITY_HEADER() {
171: return localizer
172: .localize(localizableWSS_1608_ERROR_SECURITY_HEADER());
173: }
174:
175: public static Localizable localizableWSS_1605_ERROR_GENERATING_CERTIFICATE(
176: Object arg0) {
177: return messageFactory.getMessage(
178: "WSS1605.error.generating.certificate", arg0);
179: }
180:
181: /**
182: * WSS1605: Error generating X509 certificate: {0}
183: *
184: */
185: public static String WSS_1605_ERROR_GENERATING_CERTIFICATE(
186: Object arg0) {
187: return localizer
188: .localize(localizableWSS_1605_ERROR_GENERATING_CERTIFICATE(arg0));
189: }
190:
191: }
|