From 06b1b00a0089df6da4de46abd5e6d1597ad6464c Mon Sep 17 00:00:00 2001 From: Marco Zanon <info@marcozanon.com> Date: Thu, 22 Oct 2015 13:25:19 +0000 Subject: [PATCH] Renamed MXhtmlUnsafeStringTextException to MXhtmlUnsafeStringException. --- src/java/com/marcozanon/macaco/text/MText.java | 4 ++-- ...Exception.java => MXhtmlUnsafeStringException.java} | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) rename src/java/com/marcozanon/macaco/text/{MXhtmlUnsafeStringTextException.java => MXhtmlUnsafeStringException.java} (51%) diff --git a/src/java/com/marcozanon/macaco/text/MText.java b/src/java/com/marcozanon/macaco/text/MText.java index e33d778..7b5fd84 100644 --- a/src/java/com/marcozanon/macaco/text/MText.java +++ b/src/java/com/marcozanon/macaco/text/MText.java @@ -363,7 +363,7 @@ public class MText extends MObject { return text; } - public static String getXhtmlSafeString(String x) throws MXhtmlUnsafeStringTextException { + public static String getXhtmlSafeString(String x) throws MXhtmlUnsafeStringException { if (null == x) { return null; } @@ -426,7 +426,7 @@ public class MText extends MObject { catch (ParserConfigurationException exception) { // cannot happen } catch (SAXException exception) { - throw new MXhtmlUnsafeStringTextException("Invalid 'x': unsafe tags or attributes inside.", exception); + throw new MXhtmlUnsafeStringException("Invalid 'x': unsafe tags or attributes inside.", exception); } catch (UnsupportedEncodingException exception) { // cannot happen } diff --git a/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java b/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java similarity index 51% rename from src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java rename to src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java index bbfdf45..e5a2361 100644 --- a/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringTextException.java +++ b/src/java/com/marcozanon/macaco/text/MXhtmlUnsafeStringException.java @@ -7,23 +7,23 @@ package com.marcozanon.macaco.text; @SuppressWarnings("serial") -public class MXhtmlUnsafeStringTextException extends MTextException { +public class MXhtmlUnsafeStringException extends MTextException { /* */ - public MXhtmlUnsafeStringTextException() { + public MXhtmlUnsafeStringException() { super(); } - public MXhtmlUnsafeStringTextException(String message) { + public MXhtmlUnsafeStringException(String message) { super(message); } - public MXhtmlUnsafeStringTextException(Throwable error) { + public MXhtmlUnsafeStringException(Throwable error) { super(error); } - public MXhtmlUnsafeStringTextException(String message, Throwable error) { + public MXhtmlUnsafeStringException(String message, Throwable error) { super(message, error); } -- 2.30.2